wil6210: properly initialize discovery_expired_work
Upon driver rmmod, cancel_work_sync() can be invoked on
p2p.discovery_expired_work before this work struct was initialized.
This causes a WARN_ON with newer kernel version.
Add initialization of discovery_expired_work inside wil_vif_init().
Change-Id: I5976a240d94d3f8c4c5fe6ed2cf7ae3efae8ecb8
Signed-off-by:
Dedy Lansky <dlansky@codeaurora.org>
Loading
Please register or sign in to comment