commit | eae4e4b9709b1295f74f7d6cf1ab6b1f12ca0e17 | [log] [tgz] |
---|---|---|
author | Qiujun Huang <hqjagain@gmail.com> | Wed Mar 25 15:06:46 2020 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 02 17:20:37 2020 +0200 |
tree | 089c82b8bfd8416f3a1dad092891f6e96d9f58e0 | |
parent | 8b9ab9fd623c442b994bafde5bf6c573b12fee01 [diff] |
staging: wlan-ng: fix ODEBUG bug in prism2sta_disconnect_usb commit a1f165a6b738f0c9d744bad4af7a53909278f5fc upstream. We should cancel hw->usb_work before kfree(hw). Reported-by: syzbot+6d2e7f6fa90e27be9d62@syzkaller.appspotmail.com Signed-off-by: Qiujun Huang <hqjagain@gmail.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/1585120006-30042-1-git-send-email-hqjagain@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>