diff options
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_main.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c index dfa08a188632..7b8d2799f23e 100644 --- a/drivers/net/wireless/wl12xx/wl1271_main.c +++ b/drivers/net/wireless/wl12xx/wl1271_main.c | |||
@@ -774,6 +774,11 @@ int wl1271_plt_start(struct wl1271 *wl) | |||
774 | if (ret < 0) | 774 | if (ret < 0) |
775 | goto out_irq_disable; | 775 | goto out_irq_disable; |
776 | 776 | ||
777 | /* Make sure power saving is disabled */ | ||
778 | ret = wl1271_acx_sleep_auth(wl, WL1271_PSM_CAM); | ||
779 | if (ret < 0) | ||
780 | goto out_irq_disable; | ||
781 | |||
777 | goto out; | 782 | goto out; |
778 | 783 | ||
779 | out_irq_disable: | 784 | out_irq_disable: |
@@ -807,6 +812,7 @@ int wl1271_plt_stop(struct wl1271 *wl) | |||
807 | wl1271_power_off(wl); | 812 | wl1271_power_off(wl); |
808 | 813 | ||
809 | wl->state = WL1271_STATE_OFF; | 814 | wl->state = WL1271_STATE_OFF; |
815 | wl->rx_counter = 0; | ||
810 | 816 | ||
811 | out: | 817 | out: |
812 | mutex_unlock(&wl->mutex); | 818 | mutex_unlock(&wl->mutex); |