qtnfmac: validate interface combinations on changes
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Mon, 22 Jan 2018 12:46:30 +0000 (15:46 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 24 Jan 2018 16:00:45 +0000 (18:00 +0200)
commit01efff526235a506275fe8aff07a22a2438bf3c8
tree58950a602cd02d64de072bb40a741b86d9f2067d
parent537faf269d76eb6f6d325874c573e45e5b55edce
qtnfmac: validate interface combinations on changes

Validate new interface combinations using wireless core checks when new
interface is added or when the type of existing interface is modified.
This is performed to make sure that new interface combination is supported
by hardware. As a result, invalid interface combinations are rejected early,
rather than passed to hardware with sometimes unpredictable results.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c