]> git.baikalelectronics.ru Git - kernel.git/commit
hostap: Remove in_atomic() check.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Sun, 1 Nov 2020 21:15:33 +0000 (22:15 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 7 Nov 2020 15:52:22 +0000 (17:52 +0200)
commit057a0c6f3db496bd56a8c33a059c6c9539649de4
tree6e21a2353e707a73b6f5a33b94c2009b7da99dc3
parent6b79c7d18990a1d990a052e621bd17847723ae5c
hostap: Remove in_atomic() check.

hostap_get_wireless_stats() is the iw_handler_if::get_wireless_stats()
callback of this driver. This callback was not allowed to sleep until
commit 205fc886d73e5 ("wext: let get_wireless_stats() sleep") in v2.6.32.

Remove the therefore pointless in_atomic() check.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Jouni Malinen <j@w1.fi>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201101211536.2966644-6-bigeasy@linutronix.de
drivers/net/wireless/intersil/hostap/hostap_ioctl.c