diff options
author | Christian Lamparter <chunkeey@web.de> | 2009-08-14 11:23:05 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-20 15:35:53 (GMT) |
commit | c46aaba74f37448f0a1a3e911230834b7ebe514f (patch) | |
tree | 3b002d658a761ca4697b2b19104db38093f3e0ba /drivers/net/wireless/p54/main.c | |
parent | 326bebbcb51d3ce9761f616b8b9a35827fd9c697 (diff) | |
download | linux-c46aaba74f37448f0a1a3e911230834b7ebe514f.tar.xz |
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/main.c')
-rw-r--r-- | drivers/net/wireless/p54/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/main.c b/drivers/net/wireless/p54/main.c index 4a741df..77203e3 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) dev->extra_tx_headroom = sizeof(struct p54_hdr) + 4 + sizeof(struct p54_tx_data); + /* + * For now, disable PS by default because it affects + * link stability significantly. + */ + dev->wiphy->ps_default = false; + mutex_init(&priv->conf_mutex); mutex_init(&priv->eeprom_mutex); init_completion(&priv->eeprom_comp); |