mt7603: fix faulty variable initialization in last commit

Should be harmless, since watchdog reset is only performed when necessary

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2018-11-08 09:07:11 +01:00
parent 417cf49ce8
commit 29d95328d6
+1 -1
View File
@@ -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);