2011-10-07 06:56:37

by Janusz Dziedzic

[permalink] [raw]
Subject: PATCH] mac80211: set no_cck also for hw_scan

In case we are using hw_scan we should also
send no_cck information to lower layer.
---
net/mac80211/scan.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c
index 6f09eca..509d89e 100644
--- a/net/mac80211/scan.c
+++ b/net/mac80211/scan.c
@@ -249,6 +249,7 @@ static bool ieee80211_prep_hw_scan(struct
ieee80211_local *local)
} while (!n_chans);

local->hw_scan_req->n_channels = n_chans;
+ local->hw_scan_req->no_cck = req->no_cck;

ielen = ieee80211_build_preq_ies(local, (u8 *)local->hw_scan_req->ie,
req->ie, req->ie_len, band,
--
1.7.0.4


Attachments:
0001-mac80211-set-no_cck-also-for-hw_scan.patch (840.00 B)

2011-10-07 07:17:59

by Johannes Berg

[permalink] [raw]
Subject: Re: PATCH] mac80211: set no_cck also for hw_scan

On Fri, 2011-10-07 at 08:56 +0200, Janusz Dziedzic wrote:
> In case we are using hw_scan we should also
> send no_cck information to lower layer.


Missing Signed-off-by, but I already submitted a very similar patch a
few days ago.

johannes



2011-10-07 07:35:46

by Janusz Dziedzic

[permalink] [raw]
Subject: Re: PATCH] mac80211: set no_cck also for hw_scan

2011/10/7 Johannes Berg <[email protected]>:
> On Fri, 2011-10-07 at 08:56 +0200, Janusz Dziedzic wrote:
>> In case we are using hw_scan we should also
>> send no_cck information to lower layer.
>
>
> Missing Signed-off-by, but I already submitted a very similar patch a
> few days ago.
>

Thanks.

I have a small question also. How should/could I get latest
compat-wireless with git history?
git clone for compat-wireless.git from kernel.org seems not work yet??

In case I have tar ball - eg. compat-wireless-3.0-2.tar.bz2 - how
could I find latest commit for this release?

--
Janusz Dziedzic

2011-10-07 07:52:14

by Johannes Berg

[permalink] [raw]
Subject: Re: PATCH] mac80211: set no_cck also for hw_scan

On Fri, 2011-10-07 at 09:35 +0200, Janusz Dziedzic wrote:

> I have a small question also. How should/could I get latest
> compat-wireless with git history?
> git clone for compat-wireless.git from kernel.org seems not work yet??
>
> In case I have tar ball - eg. compat-wireless-3.0-2.tar.bz2 - how
> could I find latest commit for this release?

Err, do you want compat-wireless's git history, or the git history for
the kernel it's based on? For the former, Luis moved to github (search
the mailing list archive) for now. For the latter, that's just
linux-next and the tarball contains the commit ID it was built from.

johannes