From 9b07251b00b05ee3cecc5041f58b775d24d9b739 Mon Sep 17 00:00:00 2001 From: Lorenzo Bianconi Date: Wed, 13 May 2020 15:53:04 +0200 Subject: [PATCH] mt76: mt7615: fix typo defining ps work 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 Signed-off-by: Felix Fietkau --- mt7615/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7615/init.c b/mt7615/init.c index b670132d..7a4ce1c8 100644 --- a/mt7615/init.c +++ b/mt7615/init.c @@ -374,7 +374,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);