iwlwifi: mvm: use new pre_channel_switch op instead of channel_switch_beacon
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 10 Nov 2014 09:10:06 +0000 (11:10 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:25 +0000 (08:30 +0200)
commitf028905c2033137f98d8c0025165644ac63cfe8d
treeaba713744a8bae9ba927e87dfbc11507ab4cb5b5
parent1d3c3f63f71ff19076a9bef89aa89bbbcaf44a15
iwlwifi: mvm: use new pre_channel_switch op instead of channel_switch_beacon

A new callback has been added to prepare the device for a channel
switch.  Use the new callback instead of the old channel_switch_beacon
operation.

This makes it possible to remove the channel_switch_beacon operation
from mac80211.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c