diff options
| author | Felix Fietkau <nbd@nbd.name> | 2020-02-02 16:12:49 +0100 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2020-02-14 10:06:09 +0100 |
| commit | c5502b89ee68da9992160cf2c5111d8b660e8698 (patch) | |
| tree | fcaa4eddb6cad8cd6713528548306d0917d1a57a | |
| parent | e07880b24d088f8e5a31a4aac930fa71877706cb (diff) | |
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>
| -rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7615/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/main.c b/drivers/net/wireless/mediatek/mt76/mt7615/main.c index 5df9521a654f..f1321fc2f362 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/main.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/main.c @@ -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: |
