mac80211: make ieee802_11_parse_elems an inline
This (slightly) reduces the code size. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
2b730daace
commit
ddc4db2e3d
@ -1492,11 +1492,15 @@ static inline void ieee80211_tx_skb(struct ieee80211_sub_if_data *sdata,
|
|||||||
ieee80211_tx_skb_tid(sdata, skb, 7);
|
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,
|
u32 ieee802_11_parse_elems_crc(u8 *start, size_t len,
|
||||||
struct ieee802_11_elems *elems,
|
struct ieee802_11_elems *elems,
|
||||||
u64 filter, u32 crc);
|
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,
|
u32 ieee80211_mandatory_rates(struct ieee80211_local *local,
|
||||||
enum ieee80211_band band);
|
enum ieee80211_band band);
|
||||||
|
|
||||||
|
@ -898,12 +898,6 @@ u32 ieee802_11_parse_elems_crc(u8 *start, size_t len,
|
|||||||
return crc;
|
return crc;
|
||||||
}
|
}
|
||||||
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata,
|
void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata,
|
||||||
bool bss_notify)
|
bool bss_notify)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user