Skip to content

Commit

Permalink
mt76: mt7615: fix MT7615_WATCHDOG_TIME definition
Browse files Browse the repository at this point in the history
Express watchdog timeout in jiffies since it is used directly in
ieee80211_queue_delayed_work

Fixes: 04b8e65922f6 ("mt76: add mac80211 driver for MT7615 PCIe-based chipsets")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
LorenzoBianconi authored and nbd168 committed Aug 20, 2019
1 parent 4947ad4 commit 4d9001b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mt7615/mt7615.h
Expand Up @@ -15,7 +15,7 @@
#define MT7615_WTBL_STA (MT7615_WTBL_RESERVED - \
MT7615_MAX_INTERFACES)

#define MT7615_WATCHDOG_TIME 100 /* ms */
#define MT7615_WATCHDOG_TIME (HZ / 10)
#define MT7615_RATE_RETRY 2

#define MT7615_TX_RING_SIZE 1024
Expand Down

0 comments on commit 4d9001b

Please sign in to comment.