diff options
author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2020-03-10 11:13:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-11 08:14:16 +0100 |
commit | ac42c12dd752d315a7027dcb50421dbbd1af53bd (patch) | |
tree | f9fd44d2a782da34b09f1416e91b1dba1a674a0a /drivers/staging/greybus | |
parent | 046cc2effd1312a23b9e3d8363be7c68f6e91f3c (diff) |
staging: wfx: fix RCU usage between hif_join() and ieee80211_bss_get_ie()
Access to result of ieee80211_bss_get_ie() is protected by RCU. In other
hand, function hif_join() can sleep and cannot be called with RCU
locked.
Provide a copy of "ssidie" to hif_join() to solve this behavior.
Fixes: 9ced9b593741 ("staging: wfx: simplify hif_join()")
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200310101356.182818-6-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus')
0 files changed, 0 insertions, 0 deletions