aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 2f828ffd5698..4a5b29dac9d0 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -1754,7 +1754,7 @@ void ieee80211_sta_rx_queued_mgmt(struct ieee80211_sub_if_data *sdata,
1754 default: 1754 default:
1755 WARN(1, "unexpected: %d", rma); 1755 WARN(1, "unexpected: %d", rma);
1756 } 1756 }
1757 goto out; 1757 return;
1758 } 1758 }
1759 1759
1760 mutex_unlock(&ifmgd->mtx); 1760 mutex_unlock(&ifmgd->mtx);
@@ -1762,9 +1762,6 @@ void ieee80211_sta_rx_queued_mgmt(struct ieee80211_sub_if_data *sdata,
1762 if (skb->len >= 24 + 2 /* mgmt + deauth reason */ && 1762 if (skb->len >= 24 + 2 /* mgmt + deauth reason */ &&
1763 (fc & IEEE80211_FCTL_STYPE) == IEEE80211_STYPE_DEAUTH) 1763 (fc & IEEE80211_FCTL_STYPE) == IEEE80211_STYPE_DEAUTH)
1764 cfg80211_send_deauth(sdata->dev, (u8 *)mgmt, skb->len); 1764 cfg80211_send_deauth(sdata->dev, (u8 *)mgmt, skb->len);
1765
1766 out:
1767 kfree_skb(skb);
1768} 1765}
1769 1766
1770static void ieee80211_sta_timer(unsigned long data) 1767static void ieee80211_sta_timer(unsigned long data)