Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
net
/
mac80211
/
cfg.c
diff --git
a/kernel/net/mac80211/cfg.c
b/kernel/net/mac80211/cfg.c
index
c12f348
..
19322c0
100644
(file)
--- a/
kernel/net/mac80211/cfg.c
+++ b/
kernel/net/mac80211/cfg.c
@@
-865,7
+865,7
@@
static int ieee80211_stop_ap(struct wiphy *wiphy, struct net_device *dev)
/* free all potentially still buffered bcast frames */
local->total_ps_buffered -= skb_queue_len(&sdata->u.ap.ps.bc_buf);
/* free all potentially still buffered bcast frames */
local->total_ps_buffered -= skb_queue_len(&sdata->u.ap.ps.bc_buf);
-
skb_queue_purge(
&sdata->u.ap.ps.bc_buf);
+
ieee80211_purge_tx_queue(&local->hw,
&sdata->u.ap.ps.bc_buf);
mutex_lock(&local->mtx);
ieee80211_vif_copy_chanctx_to_vlans(sdata, true);
mutex_lock(&local->mtx);
ieee80211_vif_copy_chanctx_to_vlans(sdata, true);