iwlegacy: Add a lock assertion in il4965_send_rxon_assoc()
authorJia-Ju Bai <baijiaju1990@gmail.com>
Fri, 5 Oct 2018 13:55:46 +0000 (21:55 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 13 Oct 2018 17:02:29 +0000 (20:02 +0300)
commit52a312673aff9baac0d677e0aee068d65dc30467
treeb4fc6f591e8d45316c5a0304559e38ec5a0b1bf2
parent2258ee58baa554609a3cc3996276e4276f537b6d
iwlegacy: Add a lock assertion in il4965_send_rxon_assoc()

The variables il->staging.filter_flags, rxon1->filter_flags and
rxon2->filter_flags need to be protected by the mutex lock il->mutex.
This patch adds a lock assertion of il->mutex to check whether
this lock is held.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlegacy/4965.c