linux/drivers/staging/rtl8188eu
Larry Finger 202e65e3b0 staging: rtl8188eu: Fix module loading from tasklet for WEP encryption
commit 7775665aad upstream.

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>
History 2019-01-16 22:03:20 +01:00
..
core staging: rtl8188eu: Fix module loading from tasklet for WEP encryption 2019-01-16 22:03:20 +01:00
hal staging: rtl8188eu: cleanup comparsions to false 2018-10-15 16:30:39 +02:00
include staging: rtl8188eu: rename Hal_MappingOutPipe() - style 2018-10-14 13:33:16 +02:00
os_dep staging: rtl8188eu: cleanup comparsions to false 2018-10-15 16:30:39 +02: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