Luciano Coelho 688b1ecfb9 mac80211: notify channel switch at the end of ieee80211_chswitch_post_beacon()
The call to cfg80211_ch_switch_notify() should be at the end of the
ieee80211_chswitch_post_beacon() function, because it should only be
sent if everything succeeded.

Fixes: d04b5ac9e70b ("cfg80211/mac80211: allow any interface to send channel switch notifications")
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2014-12-17 11:47:42 +01:00
..
2013-12-18 10:33:06 +01:00
2013-12-18 10:33:06 +01:00
2014-11-04 13:18:21 +01:00
2014-04-09 14:49:43 +02:00
2009-07-10 15:01:49 -04:00
2014-07-21 12:14:04 +02:00
2014-11-04 13:18:21 +01:00
2013-12-16 11:29:48 +01:00
2014-11-04 13:18:21 +01:00
2014-04-29 17:59:27 +02:00
2014-04-09 14:49:43 +02:00
2014-11-04 13:18:21 +01:00
2014-11-28 15:01:51 +01:00
2013-12-18 10:33:06 +01:00
2012-06-24 11:33:18 +02:00
2012-03-13 14:54:16 -04:00