* [PATCH 11/11] mac80211: Fix compile warning in scan.c.
@ 2010-06-20 18:28 Gertjan van Wingerde
2010-06-20 18:30 ` Gertjan van Wingerde
0 siblings, 1 reply; 2+ messages in thread
From: Gertjan van Wingerde @ 2010-06-20 18:28 UTC (permalink / raw)
To: John W. Linville; +Cc: Johannes Berg, linux-wireless, Gertjan van Wingerde
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>
---
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 30d4c0d..9aa19ec 100644
--- a/net/mac80211/scan.c
+++ b/net/mac80211/scan.c
@@ -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);
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 11/11] mac80211: Fix compile warning in scan.c.
2010-06-20 18:28 [PATCH 11/11] mac80211: Fix compile warning in scan.c Gertjan van Wingerde
@ 2010-06-20 18:30 ` Gertjan van Wingerde
0 siblings, 0 replies; 2+ messages in thread
From: Gertjan van Wingerde @ 2010-06-20 18:30 UTC (permalink / raw)
To: John W. Linville; +Cc: Johannes Berg, linux-wireless
On 06/20/10 20:28, Gertjan van Wingerde wrote:
> 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>
> ---
> 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 30d4c0d..9aa19ec 100644
> --- a/net/mac80211/scan.c
> +++ b/net/mac80211/scan.c
> @@ -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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-20 18:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-20 18:28 [PATCH 11/11] mac80211: Fix compile warning in scan.c Gertjan van Wingerde
2010-06-20 18:30 ` Gertjan van Wingerde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).