brcmfmac: support removing AP interfaces with "interface_remove"
authorRafał Miłecki <zajec5@gmail.com>
Wed, 29 Jun 2016 19:54:27 +0000 (21:54 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Jul 2016 13:45:47 +0000 (16:45 +0300)
commitdba8fbc67ecd193590a72e960e9f5a6578b8bae6
treed02c7f7af8583634e3ac89d4963368ea0b0b9568
parenta63b09872c1dc0ce0da3628647da67a112b484bf
brcmfmac: support removing AP interfaces with "interface_remove"

New firmwares (e.g. 10.10.69.36 for BCM4366) support "interface_remove"
for removing interfaces. Try to use this method on cfg80211 request. In
case of older firmwares (e.g. 7.35.177.56 for BCM43602 as I tested) this
will just result in firmware rejecting command and this won't change any
behavior.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c