Felix Fietkau 36f7e2b2bb mt76: do not use devm API for led classdev
With the devm API, the unregister happens after the device cleanup is done,
after which the struct mt76_dev which contains the led_cdev has already been
freed. This leads to a use-after-free bug that can crash the system.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2019-11-20 13:23:49 +01:00
..
2019-11-15 08:59:34 +02:00
2019-09-03 16:39:33 +03:00
2019-11-05 18:36:35 -08:00
2019-11-05 18:36:35 -08:00