wifi: mt76: mt7925: improve EHT capability control in regulatory flow

Move EHT flag handling into mt7925_regd_channel_update() to ensure
correct channel capability reporting.

Signed-off-by: Ming Yen Hsieh <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Ming Yen Hsieh
2025-11-06 11:22:39 +00:00
committed by Felix Fietkau
parent 588cc87bf6
commit dac1d45fe9
2 changed files with 18 additions and 2 deletions
-2
View File
@@ -1368,8 +1368,6 @@ void mt7925_scan_work(struct work_struct *work)
if (!is_valid_alpha2(evt->alpha2))
break;
mt7925_regd_be_ctrl(phy->dev, evt->alpha2);
if (mdev->alpha2[0] != '0' && mdev->alpha2[1] != '0')
break;