Skip to content

Fixes for system freezes for r8188eu

Larry Finger netdev stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: rtl8188eu: Fix module loading from tasklet for CCMP encryptiondrivers/staging/rtl8188eu/core/rtw_security.c+1 -10 replies
2/2staging: rtl8188eu: Fix module loading from tasklet for WEP encryptiondrivers/staging/rtl8188eu/core/rtw_security.c+2 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchMichael Straube
1/2Reported-and-tested-by
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fixes for system freezes for r8188eu

The driver issues "scheduling while atomic" messages and will freeze the system. These problems are due to attempting to dynamically load library encryption routines from a tasklet. The fixes are relatively simple. All that is needed is to replace indirect calls of the try_then_request_module() macro with a direct call to lib80211_get_crypto_ops(), which forces a load of the lib80211 module when the wifi driver is loaded.

There will be a similar patch for TKIP encryption; however, the faulty patch has already been reverted, thus a fix to use the lib80211 routine directly will be more intrusive. My original attempt failed, thus I am delaying that fix.

Cc Michael Straube <[email protected]>
Cc Ivan Safonov <[email protected]>

---
Larry Finger (2):
staging: rtl8188eu: Fix module loading from tasklet for CCMP
encryption
staging: rtl8188eu: Fix module loading from tasklet for WEP encryption

 drivers/staging/rtl8188eu/core/rtw_security.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.16.4