projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daabead
)
wireless: Fix rate mask for scan request
author
Rajkumar Manoharan
<
[email protected]
>
Thu, 15 Sep 2011 09:42:29 +0000
(15:12 +0530)
committer
John W. Linville
<
[email protected]
>
Fri, 16 Sep 2011 19:32:11 +0000
(15:32 -0400)
The scan request received from cfg80211_connect do not
have proper rate mast. So the probe request sent on each
channel do not have proper the supported rates ie.
Cc:
[email protected]
Reviewed-by: Johannes Berg <
[email protected]
>
Signed-off-by: Rajkumar Manoharan <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
net/wireless/sme.c
patch
|
blob
|
history
diff --git
a/net/wireless/sme.c
b/net/wireless/sme.c
index b7b6ff8be553a10f7a0191ac04f09eeaff06463c..dec0fa28372e5f5363d79d0ba912cf1e37704dd9 100644
(file)
--- a/
net/wireless/sme.c
+++ b/
net/wireless/sme.c
@@
-118,6
+118,8
@@
static int cfg80211_conn_scan(struct wireless_dev *wdev)
i++, j++)
request->channels[i] =
&wdev->wiphy->bands[band]->channels[j];
+ request->rates[band] =
+ (1 << wdev->wiphy->bands[band]->n_bitrates) - 1;
}
}
request->n_channels = n_channels;