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:
953b353
)
mwifiex: fix wrong data rates in P2P client
author
Avinash Patil
<
[email protected]
>
Mon, 29 Jul 2013 23:32:38 +0000
(16:32 -0700)
committer
John W. Linville
<
[email protected]
>
Wed, 31 Jul 2013 19:06:46 +0000
(15:06 -0400)
This patch fixes an issue wherein adhoc rates were being copied
into association request from P2P client.
Cc: <
[email protected]
> # 3.10.y
Signed-off-by: Avinash Patil <
[email protected]
>
Signed-off-by: Stone Piao <
[email protected]
>
Signed-off-by: Bing Zhao <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/mwifiex/cfp.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mwifiex/cfp.c
b/drivers/net/wireless/mwifiex/cfp.c
index 988552dece75d49ab3af4628dec68bd6a9627030..5178c4630d89310e17a5db810977fa5aad8ca525 100644
(file)
--- a/
drivers/net/wireless/mwifiex/cfp.c
+++ b/
drivers/net/wireless/mwifiex/cfp.c
@@
-415,7
+415,8
@@
u32 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates)
u32 k = 0;
struct mwifiex_adapter *adapter = priv->adapter;
- if (priv->bss_mode == NL80211_IFTYPE_STATION) {
+ if (priv->bss_mode == NL80211_IFTYPE_STATION ||
+ priv->bss_mode == NL80211_IFTYPE_P2P_CLIENT) {
switch (adapter->config_bands) {
case BAND_B:
dev_dbg(adapter->dev, "info: infra band=%d "