mt76: mt7615: add sta_rec with EXTRA_INFO_NEW for the first time only
authorFelix Fietkau <nbd@nbd.name>
Wed, 22 Jun 2022 12:11:06 +0000 (14:11 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 11 Jul 2022 11:40:03 +0000 (13:40 +0200)
commitdf6b739fd7d15371357c32d4b1190e681434a096
treea01a0444b8e7ba0be441ba87aa0c7487f724234b
parent18fced2017d8b8a21a484640f5880bd7ec0d62ec
mt76: mt7615: add sta_rec with EXTRA_INFO_NEW for the first time only

Set EXTRA_INFO_NEW for the first time only to prevent adding the same
starec entry, otherwise the entry might be removed in fw.

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