commit | 6d7db193f2097d2f12fdc6b2300439a91a3196be | [log] [tgz] |
---|---|---|
author | Christian Lamparter <chunkeey@web.de> | Mon Jun 01 22:49:25 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Jun 03 14:05:15 2009 -0400 |
tree | d918f4737ac2093e5eaf5538d802571157db2e44 | |
parent | 66d008139c61d610f3ade9b46ad610e2cd277fb9 [diff] |
ar9170: cancel led worker properly on exit "[PATCH 3/4 v2] ar9170: fix LED power state handling" revealed a bug which can cause a ugly crash. The delayed worker is canceled before the LED class functions are unregistered... So, if something manages to update the LEDs while unregister routine is running the timer could fire _after_ the module has been unloaded. Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>