OSDN Git Service

staging: r8188eu: fix scheduling while atomic bugs
authorMichael Straube <straube.linux@gmail.com>
Thu, 19 Aug 2021 09:24:23 +0000 (11:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 08:40:13 +0000 (10:40 +0200)
commit89b9f3f39a088a7a0f833621dc62acb201a37ac5
treeba9b1f18c85e2d118d42b153384329244314b9dc
parent093991aaadf0fbb34184fa37a46e7a157da3f386
staging: r8188eu: fix scheduling while atomic bugs

These allocations are sometimes done under a spin lock so they
have to be atomic. The function call tree is:

-> update_beacon() <- takes a spin lock
   -> update_BCNTIM()
      -> set_tx_beacon_cmd()

Fixes: 79f712ea994de ("staging: r8188eu: Remove wrappers for kalloc() and kzalloc()")
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210819092423.4349-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c