diff options
author | Gertjan van Wingerde <gwingerde@gmail.com> | 2010-06-20 20:28:07 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-21 15:39:59 -0400 |
commit | fb63bc41772259701a827e9a6117219a7393554f (patch) | |
tree | 0aced30ad8dd358b6bdee06d8008d98c7c69c4bb /net/mac80211 | |
parent | bb64d95e539fe09230d42b4634ac712ca5cb700b (diff) |
mac80211: Fix compile warning in scan.c.
Fix the following compile warning:
CC [M] net/mac80211/scan.o
net/mac80211/scan.c: In function 'ieee80211_request_internal_scan':
net/mac80211/scan.c:749:23: warning: comparison between 'enum nl80211_band' and 'enum ieee80211_band'
caused by the local variable band not being of the proper 'ieee80211_band' type.
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index 36eb6dd7c75..439c98d93a7 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c @@ -734,7 +734,7 @@ int ieee80211_request_internal_scan(struct ieee80211_sub_if_data *sdata, { struct ieee80211_local *local = sdata->local; int ret = -EBUSY; - enum nl80211_band band; + enum ieee80211_band band; mutex_lock(&local->scan_mtx); |