mac80211: Fix compile warning in scan.c.
PATCH 11/11 mac80211: Fix compile warning in scan.c.
Fix the following compile warning:
CC [M] net/mac80211/scan.onet/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.
--- net/mac80211/scan.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/mac80211/scan.c +1 -1
@@ -735,7 +735,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);
Signature · 1 line
1.7.1
Quoted 18 lines · Gertjan van Wingerde
Fix the following compile warning:
CC [M]
net/mac80211/scan.onet/mac80211/scan.c: In function 'ieee80211_request_internal_scan':net/mac80211/scan.c:749:23: warning: comparison between 'enumnl80211_band' and 'enumieee80211_band'caused by the local variable band not being of the proper '
ieee80211_band' type.Signed-off-by Gertjan van Wingerde <[email protected]>--- net/mac80211/scan.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)net/mac80211/scan.c +0
-0
net/mac80211/scan.c int ieee80211_request_internal_scan(struct ieee80211_sub_if_data *sdata, · line 741
Quoted 8 lines
net/mac80211/scan.c +1
-1@@ -735,7 +735,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);
Sorry about the 11/11 in the subject. This patch is completely on its own. It is just part of the ongoing work in my own tree and I forgot to remove the 11/11 marking before sending out the patch.
---
Gertjan.