diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-04-27 05:59:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-27 16:09:23 -0400 |
commit | a060bbfe4ee95d115e8f9705a66894ac34e2c475 (patch) | |
tree | 6aea616cdd07c06886c0e1ffade68e5d58f9e9c2 /drivers/net/wireless/mac80211_hwsim.c | |
parent | 9043f3b89abebfbfe4b8d64c7b71b9ac0b9eaa0b (diff) |
mac80211: give virtual interface to hw_scan
When scanning, it is somewhat important to scan
on the correct virtual interface. All drivers
that currently implement hw_scan only support a
single virtual interface, but that may change
and then we'd want to be ready.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 79bb8833ddb9..d016933d7573 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -973,6 +973,7 @@ static void hw_scan_done(struct work_struct *work) | |||
973 | } | 973 | } |
974 | 974 | ||
975 | static int mac80211_hwsim_hw_scan(struct ieee80211_hw *hw, | 975 | static int mac80211_hwsim_hw_scan(struct ieee80211_hw *hw, |
976 | struct ieee80211_vif *vif, | ||
976 | struct cfg80211_scan_request *req) | 977 | struct cfg80211_scan_request *req) |
977 | { | 978 | { |
978 | struct hw_scan_done *hsd = kzalloc(sizeof(*hsd), GFP_KERNEL); | 979 | struct hw_scan_done *hsd = kzalloc(sizeof(*hsd), GFP_KERNEL); |