linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
	Hante Meuleman <meuleman@broadcom.com>,
	Arend van Spriel <arend@broadcom.com>
Subject: [PATCH 16/16] brcmfmac: Accept events when TDLS is used in combination with p2p.
Date: Fri, 18 Sep 2015 22:08:19 +0200	[thread overview]
Message-ID: <1442606899-31872-17-git-send-email-arend@broadcom.com> (raw)
In-Reply-To: <1442606899-31872-1-git-send-email-arend@broadcom.com>

From: Hante Meuleman <meuleman@broadcom.com>

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>
---
 drivers/net/wireless/brcm80211/brcmfmac/fweh.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/wireless/brcm80211/brcmfmac/fweh.c b/drivers/net/wireless/brcm80211/brcmfmac/fweh.c
index 81542e0..383d6fa 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/fweh.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/fweh.c
@@ -300,8 +300,7 @@ static void brcmf_fweh_event_worker(struct work_struct *work)
 			goto event_free;
 		}
 
-		if ((event->code == BRCMF_E_TDLS_PEER_EVENT) &&
-		    (emsg.bsscfgidx == 1))
+		if (event->code == BRCMF_E_TDLS_PEER_EVENT)
 			ifp = drvr->iflist[0];
 		else
 			ifp = drvr->iflist[emsg.bsscfgidx];
-- 
1.9.1


  parent reply	other threads:[~2015-09-18 20:08 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-18 20:08 [PATCH 00/16] brcmfmac: new device support and P2P fixes Arend van Spriel
2015-09-18 20:08 ` [PATCH 01/16] brcmfmac: Fix exception handling Arend van Spriel
2015-09-19  9:43   ` Arend van Spriel
2015-09-29  7:57   ` [01/16] " Kalle Valo
2015-09-18 20:08 ` [PATCH 02/16] brcmfmac: Add support for the BCM4350 PCIE device Arend van Spriel
2015-09-18 20:08 ` [PATCH 03/16] brcmfmac: Fix set and get tx-power functions Arend van Spriel
2015-09-18 20:08 ` [PATCH 04/16] brcmfmac: Only assign primary netdev to if2bss array Arend van Spriel
2015-09-18 20:08 ` [PATCH 05/16] brcmfmac: Inform p2p module about p2pon through API Arend van Spriel
2015-09-18 20:08 ` [PATCH 06/16] brcmfmac: Fix bug in flowring management Arend van Spriel
2015-09-18 20:08 ` [PATCH 07/16] brcmfmac: Make p2pon module param always available Arend van Spriel
2015-09-18 20:08 ` [PATCH 08/16] brcmfmac: Workaround in change vif for wpa_supplicant support Arend van Spriel
2015-09-18 20:08 ` [PATCH 09/16] brcmfmac: Deleting of p2p device is leaking memory Arend van Spriel
2015-09-18 20:08 ` [PATCH 10/16] brcmfmac: Only handle p2p_stop_device if vif is valid Arend van Spriel
2015-09-18 20:08 ` [PATCH 11/16] brcmfmac: Fix p2p bug for older firmwares Arend van Spriel
2015-09-18 20:08 ` [PATCH 12/16] brcmfmac: Add module parameter to disable features Arend van Spriel
2015-09-18 20:08 ` [PATCH 13/16] brcmfmac: Fix race condition bug when deleting p2p interface Arend van Spriel
2015-09-18 20:08 ` [PATCH 14/16] brcmfmac: Add support for the BCM4365 and BCM4366 PCIE devices Arend van Spriel
2015-09-18 20:08 ` [PATCH 15/16] brcmfmac: Fix TDLS setup by properly handling p2p noif Arend van Spriel
2015-09-18 20:08 ` Arend van Spriel [this message]
2015-09-19  9:43   ` [PATCH 16/16] brcmfmac: Accept events when TDLS is used in combination with p2p Arend van Spriel
2015-09-18 21:29 ` [PATCH 00/16] brcmfmac: new device support and P2P fixes Rafał Miłecki
2015-09-19  9:40   ` Arend van Spriel
2015-09-19 14:24   ` Arend van Spriel
2015-09-19 15:05     ` Rafał Miłecki
2015-09-19 16:32       ` Arend van Spriel
2015-09-21 12:17         ` Kalle Valo
2015-09-28 17:48 ` Arend van Spriel
2015-09-28 18:14   ` Pending patches in patchwork and their states Kalle Valo
2016-01-09 23:48 ` [PATCH 00/16] brcmfmac: new device support and P2P fixes Rafał Miłecki
2016-01-10 20:59   ` Arend van Spriel
2016-01-10 21:12     ` Rafał Miłecki
2016-01-11  8:33       ` Arend van Spriel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442606899-31872-17-git-send-email-arend@broadcom.com \
    --to=arend@broadcom.com \
    --cc=kvalo@codeaurora.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=meuleman@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).