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:
3334306
)
rsi: enable power save by default for coex
author
Amitkumar Karwar
<
[email protected]
>
Tue, 10 Apr 2018 15:04:16 +0000
(20:34 +0530)
committer
Kalle Valo
<
[email protected]
>
Tue, 24 Apr 2018 17:25:13 +0000
(20:25 +0300)
Power save is by default enabled for WLAN and BT coex mode.
Signed-off-by: Amitkumar Karwar <
[email protected]
>
Signed-off-by: Siva Rebbagondla <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/rsi/rsi_91x_mac80211.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rsi/rsi_91x_mac80211.c
b/drivers/net/wireless/rsi/rsi_91x_mac80211.c
index 2a777435a735e605ff4f3ec2637af6852be8b7a0..bb497bd63563bc130cc225453d3b551af5dc0cc5 100644
(file)
--- a/
drivers/net/wireless/rsi/rsi_91x_mac80211.c
+++ b/
drivers/net/wireless/rsi/rsi_91x_mac80211.c
@@
-2008,6
+2008,9
@@
int rsi_mac80211_attach(struct rsi_common *common)
wiphy->iface_combinations = rsi_iface_combinations;
wiphy->n_iface_combinations = ARRAY_SIZE(rsi_iface_combinations);
+ if (common->coex_mode > 1)
+ wiphy->flags |= WIPHY_FLAG_PS_ON_BY_DEFAULT;
+
status = ieee80211_register_hw(hw);
if (status)
return status;