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 /include/net | |
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 'include/net')
-rw-r--r-- | include/net/mac80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index c26de6cb12f8..a36e0df5a17c 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1657,7 +1657,7 @@ struct ieee80211_ops { | |||
1657 | struct ieee80211_key_conf *conf, | 1657 | struct ieee80211_key_conf *conf, |
1658 | struct ieee80211_sta *sta, | 1658 | struct ieee80211_sta *sta, |
1659 | u32 iv32, u16 *phase1key); | 1659 | u32 iv32, u16 *phase1key); |
1660 | int (*hw_scan)(struct ieee80211_hw *hw, | 1660 | int (*hw_scan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |
1661 | struct cfg80211_scan_request *req); | 1661 | struct cfg80211_scan_request *req); |
1662 | void (*sw_scan_start)(struct ieee80211_hw *hw); | 1662 | void (*sw_scan_start)(struct ieee80211_hw *hw); |
1663 | void (*sw_scan_complete)(struct ieee80211_hw *hw); | 1663 | void (*sw_scan_complete)(struct ieee80211_hw *hw); |