net: wireless: bcmdhd: Remove PMKID_CACHE and TXFAIL events for CFG80211
authorDmitry Shmidt <dimitrysh@google.com>
Wed, 22 Aug 2012 20:56:14 +0000 (13:56 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Thu, 23 Aug 2012 00:39:30 +0000 (17:39 -0700)
Change-Id: I82b6a1c9941485f3b47bc5978873379ab8853601
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/dhd_linux.c

index 8aa7ed9f43231fb7c36b12d8708a0b68ffd800f9..4faef154f57c2d86b179ea7100990610e896449e 100644 (file)
@@ -3228,8 +3228,10 @@ dhd_preinit_ioctls(dhd_pub_t *dhd)
        setbit(eventmask, WLC_E_MIC_ERROR);
        setbit(eventmask, WLC_E_ASSOC_REQ_IE);
        setbit(eventmask, WLC_E_ASSOC_RESP_IE);
+#ifndef WL_CFG80211
        setbit(eventmask, WLC_E_PMKID_CACHE);
        setbit(eventmask, WLC_E_TXFAIL);
+#endif
        setbit(eventmask, WLC_E_JOIN_START);
        setbit(eventmask, WLC_E_SCAN_COMPLETE);
 #ifdef WLMEDIA_HTSF