mt76: mt7921: not support beacon offload disable command
authorDeren Wu <deren.wu@mediatek.com>
Wed, 8 Jun 2022 12:53:25 +0000 (20:53 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 11 Jul 2022 11:40:01 +0000 (13:40 +0200)
commitc149d3a9058616ff942a6e44b6e968e18a84dd5a
treeb08c51d99ad797976172fb710d79b9755171b8ae
parentb932425b63143ccadbad2d74e499e3c5d6c0c0dc
mt76: mt7921: not support beacon offload disable command

Beacon disable flow would be handled in bss stop handler automatically.
Force return -EOPNOTSUPP in disable case.

Fixes: 116c69603b01 ("mt76: mt7921: Add AP mode support")
Reviewed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mcu.c