]> git.baikalelectronics.ru Git - kernel.git/commit
mt7615: replace sta_state callback with sta_add/sta_remove
authorFelix Fietkau <nbd@nbd.name>
Thu, 5 Dec 2019 13:26:13 +0000 (14:26 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Feb 2020 09:06:00 +0000 (10:06 +0100)
commit999c3669d4d01a220457fc4df87a8bd9a190ed35
tree78ddd93f8876222a57657fafb2475d06586db10d
parent7487b68dbcfe3a978210c23f06141b9ce72f7879
mt7615: replace sta_state callback with sta_add/sta_remove

The MT7615 firmware needs to know the association id at creation time,
which is unavailable during the transition from notexist to none in
.sta_state.
This can cause a number of issues, probably also breaking powersave
support.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/main.c
drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h
drivers/net/wireless/mediatek/mt76/mt7615/pci.c