aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorJakub Kicinski <kubakici@wp.pl>2012-04-02 21:40:48 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-13 14:32:48 -0400
commitb7e1d225f5c2d397136fd79472d32b0f87017612 (patch)
treeac7e6ddc1ee6d2995c0ffab31481644dfe296e24 /drivers/net/wireless
parentf7b395e9f898313c2add740af04361e59b06e68b (diff)
rt2800: add disabling of DMA before loading firmware
Legacy driver disables DMA before loading firmware. Signed-off-by: Jakub Kicinski <kubakici@wp.pl> Reviewed-by: Stanislaw Gruszka <sgruszka@redhat.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c
index 8aee6d4f2b91..cc6ca183f3bf 100644
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
@@ -426,6 +426,8 @@ int rt2800_load_firmware(struct rt2x00_dev *rt2x00dev,
426 rt2800_register_write(rt2x00dev, PWR_PIN_CFG, 0x00000002); 426 rt2800_register_write(rt2x00dev, PWR_PIN_CFG, 0x00000002);
427 } 427 }
428 428
429 rt2800_disable_wpdma(rt2x00dev);
430
429 /* 431 /*
430 * Write firmware to the device. 432 * Write firmware to the device.
431 */ 433 */