Skip to content

Commit

Permalink
rt2x00: Disable powersaving for rt61pci and rt2800pci.
Browse files Browse the repository at this point in the history
commit 93b6bd2 upstream.

We've had many reports of rt61pci failures with powersaving enabled.
Therefore, as a stop-gap measure, disable powersaving of the rt61pci
until we have found a proper solution.
Also disable powersaving on rt2800pci as it most probably will show
the same problem.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Gertjan van Wingerde authored and Greg Kroah-Hartman committed Jan 6, 2010
1 parent 8ac9e80 commit 3815270
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/net/wireless/rt2x00/rt61pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -2537,6 +2537,11 @@ static int rt61pci_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
char *tx_power;
unsigned int i;

/*
* Disable powersaving as default.
*/
rt2x00dev->hw->wiphy->ps_default = false;

/*
* Initialize all hw fields.
*/
Expand Down

0 comments on commit 3815270

Please sign in to comment.