mac80211: make remain_on_channel() op pass vif param
authorEliad Peller <eliad@wizery.com>
Mon, 19 Nov 2012 15:05:09 +0000 (17:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Nov 2012 15:20:37 +0000 (16:20 +0100)
commit49884568628db47a1f8c1f596c6ab3b8db81b73c
treec5fb7a7c9c5a4ea3c91b201f5f0bb692eaa8afe1
parent3475b0946bd2057497628790d4b4fce4bfdcc304
mac80211: make remain_on_channel() op pass vif param

Drivers (e.g. wl12xx) might need to know the vif
to roc on (mainly in order to configure the
rx filters correctly).

Add the vif to the op params, and update the current
users (iwlwifi) to use the new api.

Signed-off-by: Eliad Peller <eliad@wizery.com>
[fix hwsim]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/mac80211.c
drivers/net/wireless/mac80211_hwsim.c
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/driver-ops.h
net/mac80211/offchannel.c
net/mac80211/trace.h