aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_boot.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_boot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_boot.c b/drivers/net/wireless/wl12xx/wl1271_boot.c
index a27601dc9c0d..b8a37a84842f 100644
--- a/drivers/net/wireless/wl12xx/wl1271_boot.c
+++ b/drivers/net/wireless/wl12xx/wl1271_boot.c
@@ -400,9 +400,6 @@ static int wl1271_boot_run_firmware(struct wl1271 *wl)
400 * ready to receive event from the command mailbox 400 * ready to receive event from the command mailbox
401 */ 401 */
402 402
403 /* enable gpio interrupts */
404 wl1271_boot_enable_interrupts(wl);
405
406 /* unmask required mbox events */ 403 /* unmask required mbox events */
407 wl->event_mask = BSS_LOSE_EVENT_ID | 404 wl->event_mask = BSS_LOSE_EVENT_ID |
408 SCAN_COMPLETE_EVENT_ID; 405 SCAN_COMPLETE_EVENT_ID;
@@ -540,6 +537,9 @@ int wl1271_boot(struct wl1271 *wl)
540 if (ret < 0) 537 if (ret < 0)
541 goto out; 538 goto out;
542 539
540 /* Enable firmware interrupts now */
541 wl1271_boot_enable_interrupts(wl);
542
543 /* set the wl1271 default filters */ 543 /* set the wl1271 default filters */
544 wl->rx_config = WL1271_DEFAULT_RX_CONFIG; 544 wl->rx_config = WL1271_DEFAULT_RX_CONFIG;
545 wl->rx_filter = WL1271_DEFAULT_RX_FILTER; 545 wl->rx_filter = WL1271_DEFAULT_RX_FILTER;