Skip to content

Commit

Permalink
p54: disable PS by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Aug 20, 2009
1 parent 326bebb commit c46aaba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/net/wireless/p54/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c46aaba

Please sign in to comment.