diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-10-16 12:09:22 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-02-14 10:03:08 +0100 |
commit | 011849e0fc55d607016314e752fc837c00b7c794 (patch) | |
tree | a2e0cc03ebe11ef7f8ea6aad0f5d615f8532441b /drivers/net/wireless/mediatek/mt76/mt76x2/usb.c | |
parent | mt76: keep a set of software tx queues per phy (diff) | |
download | linux-011849e0fc55d607016314e752fc837c00b7c794.tar.xz linux-011849e0fc55d607016314e752fc837c00b7c794.zip |
mt76: move state from struct mt76_dev to mt76_phy
Allows keeping per-wiphy state separate
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x2/usb.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x2/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c b/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c index b64ad816cc25..2c07063eadfe 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c @@ -86,7 +86,7 @@ static void mt76x2u_disconnect(struct usb_interface *intf) struct mt76x02_dev *dev = usb_get_intfdata(intf); struct ieee80211_hw *hw = mt76_hw(dev); - set_bit(MT76_REMOVED, &dev->mt76.state); + set_bit(MT76_REMOVED, &dev->mphy.state); ieee80211_unregister_hw(hw); mt76x2u_cleanup(dev); mt76u_deinit(&dev->mt76); |