diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-03-27 13:55:31 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-08 09:08:32 (GMT) |
commit | ddc4db2e3d5393ede7a9222bb3b7522a603a4678 (patch) | |
tree | 1e9d2e939d950b276c8271bbab2228e95f75a248 /net/mac80211/ieee80211_i.h | |
parent | 2b730daacee6c318bce7b6373c19909e36a74590 (diff) | |
download | linux-fsl-qoriq-ddc4db2e3d5393ede7a9222bb3b7522a603a4678.tar.xz |
mac80211: make ieee802_11_parse_elems an inline
This (slightly) reduces the code size.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 55fb382..8d5dcbf 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1492,11 +1492,15 @@ static inline void ieee80211_tx_skb(struct ieee80211_sub_if_data *sdata, ieee80211_tx_skb_tid(sdata, skb, 7); } -void ieee802_11_parse_elems(u8 *start, size_t len, - struct ieee802_11_elems *elems); u32 ieee802_11_parse_elems_crc(u8 *start, size_t len, struct ieee802_11_elems *elems, u64 filter, u32 crc); +static inline void ieee802_11_parse_elems(u8 *start, size_t len, + struct ieee802_11_elems *elems) +{ + ieee802_11_parse_elems_crc(start, len, elems, 0, 0); +} + u32 ieee80211_mandatory_rates(struct ieee80211_local *local, enum ieee80211_band band); |