From 29d95328d6258778cf7d330ecfa3c2ba89bbe477 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 8 Nov 2018 08:43:02 +0100 Subject: [PATCH] mt7603: fix faulty variable initialization in last commit Should be harmless, since watchdog reset is only performed when necessary Signed-off-by: Felix Fietkau --- mt7603/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7603/main.c b/mt7603/main.c index 714df9f6..ea43181a 100644 --- a/mt7603/main.c +++ b/mt7603/main.c @@ -129,7 +129,7 @@ mt7603_set_channel(struct mt7603_dev *dev, struct cfg80211_chan_def *def) u8 *rssi_data = (u8 *) dev->mt76.eeprom.data; int idx, ret; u8 bw = MT_BW_20; - bool failed = true; + bool failed = false; cancel_delayed_work_sync(&dev->mac_work);