Commit 29b93c0e authored by Hante Meuleman's avatar Hante Meuleman Committed by Kalle Valo

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: default avatarArend Van Spriel <arend@broadcom.com>
Reviewed-by: default avatarPieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: default avatarHante Meuleman <meuleman@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent cb8dc71f
...@@ -300,8 +300,7 @@ static void brcmf_fweh_event_worker(struct work_struct *work) ...@@ -300,8 +300,7 @@ static void brcmf_fweh_event_worker(struct work_struct *work)
goto event_free; goto event_free;
} }
if ((event->code == BRCMF_E_TDLS_PEER_EVENT) && if (event->code == BRCMF_E_TDLS_PEER_EVENT)
(emsg.bsscfgidx == 1))
ifp = drvr->iflist[0]; ifp = drvr->iflist[0];
else else
ifp = drvr->iflist[emsg.bsscfgidx]; ifp = drvr->iflist[emsg.bsscfgidx];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment