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)
commit3e3848280f7d9c3f434c6a8bf9006b41882eb2d1
tree78ddd93f8876222a57657fafb2475d06586db10d
parentc3c25d09d4ac1fc5eb8795f8904b2f0d42bca1d3
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