1
0
Fork 0
alistair23-linux/drivers/staging/rtl8188eu
Larry Finger 7775665aad staging: rtl8188eu: Fix module loading from tasklet for WEP encryption
Commit 2b2ea09e74 ("staging:r8188eu: Use lib80211 to decrypt WEP-frames")
causes scheduling while atomic bugs followed by a hard freeze whenever
the driver tries to connect to a WEP-encrypted network. Experimentation
showed that the freezes were eliminated when module lib80211 was
preloaded, which can be forced by calling lib80211_get_crypto_ops()
directly rather than indirectly through try_then_request_module().
With this change, no BUG messages are logged.

Fixes: 2b2ea09e74 ("staging:r8188eu: Use lib80211 to decrypt WEP-frames")
Cc: Stable <stable@vger.kernel.org> # v4.17+
Cc: Michael Straube <straube.linux@gmail.com>
Cc: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-07 15:27:59 +01:00
..
core staging: rtl8188eu: Fix module loading from tasklet for WEP encryption 2019-01-07 15:27:59 +01:00
hal staging: rtl8188eu: cleanup brace coding style issues 2018-12-19 08:32:33 +01:00
include staging: rtl8188eu: make some arrays static in rtw_mlme_ext.c 2018-12-19 08:32:33 +01:00
os_dep staging: rtl8188eu: rename struct field Wifi_Error_Status 2018-12-06 16:12:19 +01:00
Kconfig Revert "staging:r8188eu: Use lib80211 to support TKIP" 2018-07-16 10:04:11 +02:00
Makefile staging: rtl8188eu: rename odm_HWConfig 2018-10-02 15:20:40 -07:00
TODO staging: rtl8188eu: Fix spelling mistake 2018-08-27 19:29:39 +02:00