summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-06-10 10:21:33 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-06-14 21:39:26 +0200
commit36b3a628a4e85d002ee8813ebd2a5caef6d3c1a7 (patch)
tree927219d1cf6ef466ec574c8172365fa1b37d53be /net/mac80211/ibss.c
parentmac80211: use common work function (diff)
downloadlinux-36b3a628a4e85d002ee8813ebd2a5caef6d3c1a7.tar.xz
linux-36b3a628a4e85d002ee8813ebd2a5caef6d3c1a7.zip
mac80211: common work skb freeing
All the management processing functions free the skb after they are done, so this can be done in the new common code instead. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r--net/mac80211/ibss.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index db5a4796ff3c..982690af1f61 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -754,8 +754,6 @@ void ieee80211_ibss_rx_queued_mgmt(struct ieee80211_sub_if_data *sdata,
ieee80211_rx_mgmt_auth_ibss(sdata, mgmt, skb->len);
break;
}
-
- kfree_skb(skb);
}
void ieee80211_ibss_work(struct ieee80211_sub_if_data *sdata)