Re: [PATCH] p54: don't unregister leds when they are inited
On Tue, Sep 26, 2017 at 5:08 PM, Johannes Berg wrote: > Subject should say *not* initialized? Yes, sent v2. > > johannes
Re: [PATCH] p54: don't unregister leds when they are inited
Subject should say *not* initialized? johannes
[PATCH] p54: don't unregister leds when they are inited
ieee80211_register_hw() in p54_register_common() may fail and leds won't get initialized. Currently p54_unregister_common() doesn't check that and always calls p54_unregister_leds(). The fix is to check priv->registered flag before calling p54_unregister_leds(). Found by syzkaller. INFO: trying t