]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
brcmfmac: Only assign primary netdev to if2bss array.
authorHante Meuleman <meuleman@broadcom.com>
Fri, 18 Sep 2015 20:08:07 +0000 (22:08 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 Sep 2015 07:55:48 +0000 (10:55 +0300)
commit6ea696eb4e2646e8f2440e2090f3d165a21ff02f
treedbf18a8a4d1ed560117580cb7662453116ef1447
parent60dc35ef9ffdf8810b98cc09abb02378023818c2
brcmfmac: Only assign primary netdev to if2bss array.

The if2bss allows for translation of ifidx to bssidx which has a 1:n
relation. Therefor only the first (primary) netdev should be
assigned in this array. This fixes the p2pon=1 module param usage.

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/core.c