diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-03-27 08:18:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-10 14:54:06 -0400 |
commit | 78307daadf08cd471a2adfcebef8453fae9c8314 (patch) | |
tree | 6342240cf262243fa156544e63907e1e830b1fb7 /net/mac80211/ieee80211_i.h | |
parent | 4670cf7a84dfbc3c5a9b50a12afdee0003a40ed8 (diff) |
mac80211: inline ieee80211_add_pending_skbs
This is a trivial wrapper function, inline it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 23765e3ca7bc..54f5b5b299d5 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -1432,11 +1432,14 @@ void ieee80211_stop_queue_by_reason(struct ieee80211_hw *hw, int queue, | |||
1432 | enum queue_stop_reason reason); | 1432 | enum queue_stop_reason reason); |
1433 | void ieee80211_add_pending_skb(struct ieee80211_local *local, | 1433 | void ieee80211_add_pending_skb(struct ieee80211_local *local, |
1434 | struct sk_buff *skb); | 1434 | struct sk_buff *skb); |
1435 | void ieee80211_add_pending_skbs(struct ieee80211_local *local, | ||
1436 | struct sk_buff_head *skbs); | ||
1437 | void ieee80211_add_pending_skbs_fn(struct ieee80211_local *local, | 1435 | void ieee80211_add_pending_skbs_fn(struct ieee80211_local *local, |
1438 | struct sk_buff_head *skbs, | 1436 | struct sk_buff_head *skbs, |
1439 | void (*fn)(void *data), void *data); | 1437 | void (*fn)(void *data), void *data); |
1438 | static inline void ieee80211_add_pending_skbs(struct ieee80211_local *local, | ||
1439 | struct sk_buff_head *skbs) | ||
1440 | { | ||
1441 | ieee80211_add_pending_skbs_fn(local, skbs, NULL, NULL); | ||
1442 | } | ||
1440 | 1443 | ||
1441 | void ieee80211_send_auth(struct ieee80211_sub_if_data *sdata, | 1444 | void ieee80211_send_auth(struct ieee80211_sub_if_data *sdata, |
1442 | u16 transaction, u16 auth_alg, | 1445 | u16 transaction, u16 auth_alg, |