brcmfmac: Build wiphy mode and interface combinations dynamically
authorPontus Fuchs <pontusf@broadcom.com>
Wed, 10 Jun 2015 22:12:18 +0000 (00:12 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 15 Jun 2015 09:55:20 +0000 (12:55 +0300)
commit2e5f66fe95936b5e723da6d0b5813bc638a32520
tree3d110c6ced25ca9f253f0245736017dabfd541b8
parent2b560d7148eb0cc5049671eda001e666e854a9c2
brcmfmac: Build wiphy mode and interface combinations dynamically

Switch from using semi hard coded interface combinations. This makes
it easier to announce what the firmware actually supports. This fixes
the case where brcmfmac announces p2p but the firmware doesn't
support it.

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