]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
wil6210: fix protection against connections during reset
authorHamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Wed, 5 Apr 2017 11:58:08 +0000 (14:58 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Apr 2017 12:45:57 +0000 (15:45 +0300)
commitb819447dfc4bd120c9d6cd8521252d544fce8fe7
tree23d7ccca44a5c7d11af3d2d54462ee7da8a53136
parent90ffabb08b7d0627239c7dd53c3c7065a158508c
wil6210: fix protection against connections during reset

Existing code that ignores connection events during
reset flow will never take effect since it locks the
same mutex taken by the reset flow.

In addition, in case of unsolicited disconnect events ignore
those as well since device is about to get reset.

Signed-off-by: Hamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/wmi.c