qtnfmac: add interface combination check for repeater mode
authorDmitry Lebed <dlebed@quantenna.com>
Thu, 13 Feb 2020 11:45:32 +0000 (11:45 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 12 Mar 2020 13:38:59 +0000 (15:38 +0200)
commit2d83dddf85cc195fa444586e232e738b33ed8225
treeaa457e7a03905a4e9ed2483c17c727c2b386cbe5
parent616f5701f4ab7deb89a6534a481c8c5b5658278f
qtnfmac: add interface combination check for repeater mode

Firmware supports only STA as primary interface in repeater mode.
Since the only meaningful usage of AP + STA interface combination
is repeater, reject such combination with AP as primary interface.

Signed-off-by: Dmitry Lebed <dlebed@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c