aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-07 23:35:40 -0400
committerDavid S. Miller <davem@davemloft.net>2012-05-07 23:35:40 -0400
commit0d6c4a2e4641bbc556dd74d3aa158c413a972492 (patch)
treeda944af17682659bb433dc2282dcb48380c14cd1 /net/mac80211/iface.c
parent6e06c0e2347ec79d0bd5702b2438fe883f784545 (diff)
parent1c430a727fa512500a422ffe4712166c550ea06a (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/intel/e1000e/param.c drivers/net/wireless/iwlwifi/iwl-agn-rx.c drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c drivers/net/wireless/iwlwifi/iwl-trans.h Resolved the iwlwifi conflict with mainline using 3-way diff posted by John Linville and Stephen Rothwell. In 'net' we added a bug fix to make iwlwifi report a more accurate skb->truesize but this conflicted with RX path changes that happened meanwhile in net-next. In e1000e a conflict arose in the validation code for settings of adapter->itr. 'net-next' had more sophisticated logic so that logic was used. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index ba86978dd561..3e05a8bfddf0 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -606,6 +606,8 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata,
606 /* free all potentially still buffered bcast frames */ 606 /* free all potentially still buffered bcast frames */
607 local->total_ps_buffered -= skb_queue_len(&sdata->u.ap.ps_bc_buf); 607 local->total_ps_buffered -= skb_queue_len(&sdata->u.ap.ps_bc_buf);
608 skb_queue_purge(&sdata->u.ap.ps_bc_buf); 608 skb_queue_purge(&sdata->u.ap.ps_bc_buf);
609 } else if (sdata->vif.type == NL80211_IFTYPE_STATION) {
610 ieee80211_mgd_stop(sdata);
609 } 611 }
610 612
611 if (going_down) 613 if (going_down)
@@ -768,8 +770,6 @@ static void ieee80211_teardown_sdata(struct net_device *dev)
768 770
769 if (ieee80211_vif_is_mesh(&sdata->vif)) 771 if (ieee80211_vif_is_mesh(&sdata->vif))
770 mesh_rmc_free(sdata); 772 mesh_rmc_free(sdata);
771 else if (sdata->vif.type == NL80211_IFTYPE_STATION)
772 ieee80211_mgd_teardown(sdata);
773 773
774 flushed = sta_info_flush(local, sdata); 774 flushed = sta_info_flush(local, sdata);
775 WARN_ON(flushed); 775 WARN_ON(flushed);