1
0
Fork 0
alistair23-linux/drivers/staging/rtl8188eu/core
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
..
rtw_ap.c staging: rtl8188eu: cleanup remaining comparsions to true 2018-11-26 20:59:04 +01:00
rtw_cmd.c staging: rtl8188eu: cleanup brace coding style issues 2018-12-19 08:32:33 +01:00
rtw_debug.c staging: rtl8188eu: remove code that is valid only for 5 GHz 2018-09-18 13:25:01 +02:00
rtw_efuse.c staging: rtl8188eu: cleanup comparsions to false 2018-10-15 16:30:39 +02:00
rtw_ieee80211.c staging: rtl8188eu: cleanup inconsistent indenting 2018-10-02 15:19:19 -07:00
rtw_ioctl_set.c staging: rtl8188eu: simplify function comments 2018-09-18 13:30:18 +02:00
rtw_iol.c staging: rtl8188eu: remove unnecessary parentheses 2018-08-05 16:23:28 +02:00
rtw_led.c staging: rtl8188eu: rename SwLed0 to avoid CamelCase 2018-11-22 11:14:59 +01:00
rtw_mlme.c staging: rtl8188eu: cleanup lines over 80 characters 2018-11-26 20:59:05 +01:00
rtw_mlme_ext.c staging: rtl8188eu: add spaces around '&' in rtw_mlme_ext.c 2018-12-19 08:32:33 +01:00
rtw_pwrctrl.c staging: rtl8188eu: rename LedControl8188eu to avoid CamelCase 2018-11-22 11:14:59 +01:00
rtw_recv.c staging: rtl8188eu: cleanup remaining comparsions to true 2018-11-26 20:59:04 +01:00
rtw_rf.c staging: rtl8188eu: add SPDX identifiers 2018-06-26 11:58:22 +08:00
rtw_security.c staging: rtl8188eu: Fix module loading from tasklet for WEP encryption 2019-01-07 15:27:59 +01:00
rtw_sreset.c staging: rtl8188eu: rename struct field Wifi_Error_Status 2018-12-06 16:12:19 +01:00
rtw_sta_mgt.c staging: rtl8188eu: cleanup remaining comparsions to true 2018-11-26 20:59:04 +01:00
rtw_wlan_util.c staging: rtl8188eu: change return type of is_basicrate() to bool 2018-12-19 08:32:33 +01:00
rtw_xmit.c staging: rtl8188eu: simplify null array initializations 2018-12-19 08:32:33 +01:00