mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move state from struct mt76_dev to mt76_phy
Allows keeping per-wiphy state separate Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -601,7 +601,7 @@ void mt76x02_sw_scan_complete(struct ieee80211_hw *hw,
|
||||
{
|
||||
struct mt76x02_dev *dev = hw->priv;
|
||||
|
||||
clear_bit(MT76_SCANNING, &dev->mt76.state);
|
||||
clear_bit(MT76_SCANNING, &dev->mphy.state);
|
||||
if (dev->cal.gain_init_done) {
|
||||
/* Restore AGC gain and resume calibration after scanning. */
|
||||
dev->cal.low_gain = -1;
|
||||
|
||||
Reference in New Issue
Block a user