diff options
author | Arik Nemtsov <arik@wizery.com> | 2010-10-25 11:17:44 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-01-24 22:11:47 +0200 |
commit | 203c903cbfbdf23bbb3020b9344dd1ffabcfcb53 (patch) | |
tree | 27ee7a1930b6b0067eb69ffbc6852c652d2548d5 /drivers/net/wireless/wl12xx/boot.c | |
parent | 79b223f4c7ce35fba145c504de12be030cc0007e (diff) | |
download | blackbird-op-linux-203c903cbfbdf23bbb3020b9344dd1ffabcfcb53.tar.gz blackbird-op-linux-203c903cbfbdf23bbb3020b9344dd1ffabcfcb53.zip |
wl12xx: AP mode - add AP specific event
Add STA-remove completion event. Unmask it during boot if operating in
AP-mode.
Ignore unrelated events in AP-mode.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/boot.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/boot.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/boot.c b/drivers/net/wireless/wl12xx/boot.c index 4df04f84d7f1..b504367f281f 100644 --- a/drivers/net/wireless/wl12xx/boot.c +++ b/drivers/net/wireless/wl12xx/boot.c @@ -431,6 +431,9 @@ static int wl1271_boot_run_firmware(struct wl1271 *wl) PSPOLL_DELIVERY_FAILURE_EVENT_ID | SOFT_GEMINI_SENSE_EVENT_ID; + if (wl->bss_type == BSS_TYPE_AP_BSS) + wl->event_mask |= STA_REMOVE_COMPLETE_EVENT_ID; + ret = wl1271_event_unmask(wl); if (ret < 0) { wl1271_error("EVENT mask setting failed"); |