Ben GreearandFelix Fietkau f7f6c6dcc6 mt76: mt7921: fix crash when startup fails.
If the nic fails to start, it is possible that the
reset_work has already been scheduled.  Ensure the
work item is canceled so we do not have use-after-free
crash in case cleanup is called before the work item
is executed.

This fixes crash on my x86_64 apu2 when mt7921k radio
fails to work.  Radio still fails, but OS does not
crash.

Signed-off-by: Ben Greear <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
2022-01-14 14:58:32 +01:00
2021-04-14 09:12:11 +02:00
2021-04-11 12:49:17 +02:00
2021-12-20 10:57:00 +01:00
2021-12-22 19:56:45 +01:00
2021-12-19 20:49:55 +01:00
2021-04-17 11:19:58 +02:00
2021-01-14 11:14:59 +01:00
2021-11-22 16:05:20 +01:00
2020-06-16 22:05:14 +02:00
2019-08-22 09:26:30 +02:00
S
Description
mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
BSD-3-Clause
105 MiB
Languages
C 99.7%
Perl 0.2%
Makefile 0.1%