]> git.karo-electronics.de Git - linux-beck.git/commit
mac80211: fix order of setting ch_switch and drv_pre_channel_switch call
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 7 Nov 2014 13:28:33 +0000 (15:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 10 Nov 2014 09:17:42 +0000 (10:17 +0100)
commit000baa5dfd99abe8a6e4ddbe900be5a570a1e20c
tree82e1a34d7f8c71bdd771c9f234d32f84d4238938
parent1ef4c850491e6598f81f578f62697f9c9c2facca
mac80211: fix order of setting ch_switch and drv_pre_channel_switch call

There was a mistake when merging commit 6d027bcc (mac80211: add
pre_channel_switch driver operation) for upstream.  The assignment of
the values in the ch_switch structure came below the call to
drv_pre_channel_switch.  Fix the order.

Fixes: 6d027bcc (mac80211: add pre_channel_switch driver operation)
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c