wl1271: wait for join command complete event
[safe/jmp/linux-2.6] / drivers / net / wireless / wl12xx / wl1271_boot.c
index 4195298..2c7e561 100644 (file)
@@ -410,7 +410,8 @@ static int wl1271_boot_run_firmware(struct wl1271 *wl)
        /* unmask required mbox events  */
        wl->event_mask = BSS_LOSE_EVENT_ID |
                SCAN_COMPLETE_EVENT_ID |
-               PS_REPORT_EVENT_ID;
+               PS_REPORT_EVENT_ID |
+               JOIN_EVENT_COMPLETE_ID;
 
        ret = wl1271_event_unmask(wl);
        if (ret < 0) {