aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 0fbadd8b983c..7e99d1615192 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1931,7 +1931,7 @@ struct sk_buff *ieee80211_beacon_get(struct ieee80211_hw *hw,
1931 "no rate found\n", 1931 "no rate found\n",
1932 wiphy_name(local->hw.wiphy)); 1932 wiphy_name(local->hw.wiphy));
1933 } 1933 }
1934 dev_kfree_skb(skb); 1934 dev_kfree_skb_any(skb);
1935 skb = NULL; 1935 skb = NULL;
1936 goto out; 1936 goto out;
1937 } 1937 }