mt76: mt7615: fix typo defining ps work
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 13 May 2020 13:53:04 +0000 (15:53 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 14 May 2020 09:08:19 +0000 (11:08 +0200)
Fix typo defining ps_work in mt7615_register_ext_phy(). This is not a
real issue since 802.11 power save is not yet support by the external phy

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/init.c

index b5bbe9f..1d8fdc7 100644 (file)
@@ -372,7 +372,7 @@ int mt7615_register_ext_phy(struct mt7615_dev *dev)
        INIT_DELAYED_WORK(&phy->scan_work, mt7615_scan_work);
        skb_queue_head_init(&phy->scan_event_list);
 
-       INIT_WORK(&dev->phy.ps_work, mt7615_ps_work);
+       INIT_WORK(&phy->ps_work, mt7615_ps_work);
 
        mt7615_cap_dbdc_enable(dev);
        mphy = mt76_alloc_phy(&dev->mt76, sizeof(*phy), &mt7615_ops);