diff options
author | Felix Fietkau <[email protected]> | 2024-11-15 12:58:50 +0100 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2024-12-03 11:28:59 +0100 |
commit | 52cebabb1264a51c80b2461d52e71600c1c58df2 (patch) | |
tree | 12e8a0f627e2d0090ec136e8400050821a00c3bc /drivers/fpga/fpga-mgr.c | |
parent | 11ac0d7c3b5ba58232fb7dacb54371cbe75ec183 (diff) |
wifi: mac80211: fix vif addr when switching from monitor to station
Since adding support for opting out of virtual monitor support, a zero vif
addr was used to indicate passive vs active monitor to the driver.
This would break the vif->addr when changing the netdev mac address before
switching the interface from monitor to sta mode.
Fix the regression by adding a separate flag to indicate whether vif->addr
is valid.
Reported-by: [email protected]
Fixes: 9d40f7e32774 ("wifi: mac80211: add flag to opt out of virtual monitor support")
Signed-off-by: Felix Fietkau <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions