brcmfmac: Accept events when TDLS is used in combination with p2p.
authorHante Meuleman <meuleman@broadcom.com>
Fri, 18 Sep 2015 20:08:19 +0000 (22:08 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 Sep 2015 07:56:22 +0000 (10:56 +0300)
commit29b93c0e3c3891e3ba6e38a71997bdad8a2aa457
tree15e75e5e34a7490fd6ca9ea803e7476259776c41
parentcb8dc71f516a98908de7de9be381ef9b571742e2
brcmfmac: Accept events when TDLS is used in combination with p2p.

TDLS events are mapped back to primary interface but when p2p is in
use then this fails because the check was incorrect by checking
bsscfg number. Which can be different when a p2p device has been
created.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/fweh.c