mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
mt76: mt7615: fix adding active monitor interfaces
Treat them the same as AP iftype internally for MCU commands Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -97,6 +97,7 @@ static int get_omac_idx(enum nl80211_iftype type, u32 mask)
|
||||
int i;
|
||||
|
||||
switch (type) {
|
||||
case NL80211_IFTYPE_MONITOR:
|
||||
case NL80211_IFTYPE_AP:
|
||||
case NL80211_IFTYPE_MESH_POINT:
|
||||
case NL80211_IFTYPE_ADHOC:
|
||||
|
||||
Reference in New Issue
Block a user