From: Luciano Coelho Date: Tue, 16 Dec 2014 14:01:39 +0000 (+0200) Subject: mac80211: notify channel switch at the end of ieee80211_chswitch_post_beacon() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~206^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=688b1ecfb9ed0484754d2653386e3c44c58ede5c;p=pandora-kernel.git 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 Signed-off-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- Reading git-diff-tree failed