Lorenzo BianconiandFelix Fietkau f0beb7cbc4 mt76: mt7663u: fix memory leaks in mt7663u_probe
Fix the two following memory leaks in mt7663u_probe:
1- if device power-own times out, remove ieee80211 hw device.
2- if mt76u queues allocation fails, remove pending urbs.

Fixes: eb99cc95c3b65 ("mt76: mt7615: introduce mt7663u support")
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/e4098f0c8a9ac51997de07f38c2bcdf7042d6db1.1592755166.git.lorenzo@kernel.org
2020-08-23 11:03:48 +02:00
2020-07-14 18:09:31 +02:00
2020-06-16 22:05:14 +02:00
2020-06-22 21:31:02 +02:00
2020-07-15 16:05:18 +02:00
2020-06-22 21:28:35 +02:00
2020-06-16 22:05:14 +02:00
2020-06-22 21:31:02 +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%