aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wl12xx
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2013-09-09 05:24:34 -0400
committerLuciano Coelho <luciano.coelho@intel.com>2013-10-23 02:47:39 -0400
commit71e996bef90b23919f627a38367b9e8b44b77d37 (patch)
tree740d3e7b576e5141fe236041e99f172d5e753b41 /drivers/net/wireless/ti/wl12xx
parentbbd74557e5711e3d5f4d94d050ae05987c4fd0be (diff)
wlcore: add ap_event_mask
Add new ap_event_mask field, to indicate events that should be unmasked only when there's an ap interface. This is done in order to avoid spurious wakeups when we don't care about the incoming event anyway. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl12xx')
-rw-r--r--drivers/net/wireless/ti/wl12xx/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c
index 591526b99154..7d88a950383a 100644
--- a/drivers/net/wireless/ti/wl12xx/main.c
+++ b/drivers/net/wireless/ti/wl12xx/main.c
@@ -1262,9 +1262,10 @@ static int wl12xx_boot(struct wl1271 *wl)
1262 BA_SESSION_RX_CONSTRAINT_EVENT_ID | 1262 BA_SESSION_RX_CONSTRAINT_EVENT_ID |
1263 REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID | 1263 REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID |
1264 INACTIVE_STA_EVENT_ID | 1264 INACTIVE_STA_EVENT_ID |
1265 MAX_TX_RETRY_EVENT_ID |
1266 CHANNEL_SWITCH_COMPLETE_EVENT_ID; 1265 CHANNEL_SWITCH_COMPLETE_EVENT_ID;
1267 1266
1267 wl->ap_event_mask = MAX_TX_RETRY_EVENT_ID;
1268
1268 ret = wlcore_boot_run_firmware(wl); 1269 ret = wlcore_boot_run_firmware(wl);
1269 if (ret < 0) 1270 if (ret < 0)
1270 goto out; 1271 goto out;