1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/mediatek/mt76
Stanislaw Gruszka 3341ba9f0f mt76x0: fix remove_interface
We wrongly use wcid_mask instead of vif_mask. This creates problems
when the interface is removed more than 8 times, for example with iw:

iw dev <devname> interface add <name> type <type>
iw dev <name> del

This caused 'ifconfig up' to fail with error:

SIOCSIFFLAGS: No space left on device

Fixes: 95e444098a ("mt76x0: main file")
Reported-and-tested-by: Sid Hayn <sidhayn@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-09-17 17:10:25 +03:00
..
mt76x0 mt76x0: fix remove_interface 2018-09-17 17:10:25 +03:00
agg-rx.c mt76x2: add napi struct to mt76_rx_poll_complete/mt76_rx_complete signatures 2018-08-02 21:47:57 +03:00
debugfs.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
dma.c mt76: introduce tx_queue_skb function pointer in mt76_bus_ops 2018-08-02 21:48:02 +03:00
dma.h mt76: add usb support to mt76 layer 2018-08-02 21:48:16 +03:00
eeprom.c
Kconfig mt76: fix build for MediaTek MT7610U USB wireless dongle 2018-08-09 18:12:28 +03:00
mac80211.c mt76x2: add napi struct to mt76_rx_poll_complete/mt76_rx_complete signatures 2018-08-02 21:47:57 +03:00
Makefile mt76: Kconfig and Makefile for mt76x0 driver 2018-08-02 21:51:03 +03:00
mmio.c
mt76.h mt76: add more states 2018-08-02 21:51:01 +03:00
mt76x2.h mt76: add driver code for MT76x2u based devices 2018-08-02 21:48:17 +03:00
mt76x2_common.c mt76: add mt76x2_common to mt76x2-common module 2018-08-02 21:48:11 +03:00
mt76x2_core.c mt76: add driver code for MT76x2e 2017-12-07 15:35:56 +02:00
mt76x2_debugfs.c mt76: move mt76x2_debugfs in mt76-common module 2018-08-02 21:48:15 +03:00
mt76x2_dfs.c mt76x2: debugfs: add sw pulse statistics to dfs debugfs 2018-07-04 18:16:01 +03:00
mt76x2_dfs.h mt76x2: debugfs: add sw pulse statistics to dfs debugfs 2018-07-04 18:16:01 +03:00
mt76x2_dma.c mt76: add mt76x2_common to mt76x2-common module 2018-08-02 21:48:11 +03:00
mt76x2_dma.h mt76: move MT_TXD_INFO, MT_MCU_MSG and MT_RX_FCE_INFO defs in dma.h 2018-08-02 21:47:48 +03:00
mt76x2_eeprom.c mt76: introduce mt76x2-common module 2018-08-02 21:48:04 +03:00
mt76x2_eeprom.h mt76: introduce mt76x2-common module 2018-08-02 21:48:04 +03:00
mt76x2_init.c mt76: add mt76x2_init_common to mt76x2-common module 2018-08-02 21:48:10 +03:00
mt76x2_init_common.c mt76: add mt76x2_init_common to mt76x2-common module 2018-08-02 21:48:10 +03:00
mt76x2_mac.c mt76: add mt76x2_mac_common to mt76x2-common module 2018-08-02 21:48:08 +03:00
mt76x2_mac.h mt76x2: add buffer len to mt76x2_mac_write_txwi signature 2018-08-02 21:47:59 +03:00
mt76x2_mac_common.c mt76: add mt76x2_mac_common to mt76x2-common module 2018-08-02 21:48:08 +03:00
mt76x2_main.c mt76: add mt76x2_common to mt76x2-common module 2018-08-02 21:48:11 +03:00
mt76x2_mcu.c mt76x2: move mt76x2_fw_header and mt76x2_patch_header definitions in mcu.h 2018-08-02 21:47:49 +03:00
mt76x2_mcu.h mt76x2: move mt76x2_fw_header and mt76x2_patch_header definitions in mcu.h 2018-08-02 21:47:49 +03:00
mt76x2_pci.c mt76: add driver code for MT76x2e 2017-12-07 15:35:56 +02:00
mt76x2_phy.c mt76: add mt76x2_phy_common to mt76x2-common module 2018-08-02 21:48:14 +03:00
mt76x2_phy_common.c mt76: add mt76x2_phy_common to mt76x2-common module 2018-08-02 21:48:14 +03:00
mt76x2_regs.h mt76: add driver code for MT76x2u based devices 2018-08-02 21:48:17 +03:00
mt76x2_trace.c mt76: add driver code for MT76x2e 2017-12-07 15:35:56 +02:00
mt76x2_trace.h mt76: add driver code for MT76x2e 2017-12-07 15:35:56 +02:00
mt76x2_tx.c mt76: add mt76x2_tx_common to mt76x2-common module 2018-08-02 21:48:06 +03:00
mt76x2_tx_common.c mt76: add mt76x2_tx_common to mt76x2-common module 2018-08-02 21:48:06 +03:00
mt76x2_usb.c mt76: add driver code for MT76x2u based devices 2018-08-02 21:48:17 +03:00
mt76x2u.h mt76: add driver code for MT76x2u based devices 2018-08-02 21:48:17 +03:00
mt76x2u_core.c mt76: add driver code for MT76x2u based devices 2018-08-02 21:48:17 +03:00
mt76x2u_init.c mt76: add driver code for MT76x2u based devices 2018-08-02 21:48:17 +03:00
mt76x2u_mac.c mt76: add driver code for MT76x2u based devices 2018-08-02 21:48:17 +03:00
mt76x2u_main.c mt76: add driver code for MT76x2u based devices 2018-08-02 21:48:17 +03:00
mt76x2u_mcu.c mt76: add driver code for MT76x2u based devices 2018-08-02 21:48:17 +03:00
mt76x2u_phy.c mt76: add driver code for MT76x2u based devices 2018-08-02 21:48:17 +03:00
trace.c
trace.h
tx.c mt76: introduce tx_queue_skb function pointer in mt76_bus_ops 2018-08-02 21:48:02 +03:00
usb.c mt76: add usb support to mt76 layer 2018-08-02 21:48:16 +03:00
usb_mcu.c mt76: add usb support to mt76 layer 2018-08-02 21:48:16 +03:00
usb_trace.c mt76: add usb support to mt76 layer 2018-08-02 21:48:16 +03:00
usb_trace.h mt76: add usb support to mt76 layer 2018-08-02 21:48:16 +03:00
util.c
util.h