aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2009-08-14 07:23:05 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-20 11:35:53 -0400
commitc46aaba74f37448f0a1a3e911230834b7ebe514f (patch)
tree3b002d658a761ca4697b2b19104db38093f3e0ba /drivers/net/wireless/p54
parent326bebbcb51d3ce9761f616b8b9a35827fd9c697 (diff)
p54: disable PS by default
Johannes kindly pointed out that I completely missed a hunk in his patch: "[PATCH] cfg80211: allow driver to override PS default". The driver must explicitly set ps_default to false, as the setting is pre-filled with the kconfig default. Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54')
-rw-r--r--drivers/net/wireless/p54/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/main.c b/drivers/net/wireless/p54/main.c
index 4a741df9c081..77203e346cda 100644
--- a/drivers/net/wireless/p54/main.c
+++ b/drivers/net/wireless/p54/main.c
@@ -575,6 +575,12 @@ struct ieee80211_hw *p54_init_common(size_t priv_data_len)
575 dev->extra_tx_headroom = sizeof(struct p54_hdr) + 4 + 575 dev->extra_tx_headroom = sizeof(struct p54_hdr) + 4 +
576 sizeof(struct p54_tx_data); 576 sizeof(struct p54_tx_data);
577 577
578 /*
579 * For now, disable PS by default because it affects
580 * link stability significantly.
581 */
582 dev->wiphy->ps_default = false;
583
578 mutex_init(&priv->conf_mutex); 584 mutex_init(&priv->conf_mutex);
579 mutex_init(&priv->eeprom_mutex); 585 mutex_init(&priv->eeprom_mutex);
580 init_completion(&priv->eeprom_comp); 586 init_completion(&priv->eeprom_comp);