From 6c792da5b84c0a10dcb8ea85b834dd166c3fe299 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Tue, 23 Mar 2021 10:33:18 -0500 Subject: [PATCH] rtl8188eu: Change locking in update_sta_info Signed-off-by: Larry Finger --- core/rtw_mlme_ext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/rtw_mlme_ext.c b/core/rtw_mlme_ext.c index ef5c416..2e9878e 100755 --- a/core/rtw_mlme_ext.c +++ b/core/rtw_mlme_ext.c @@ -11517,9 +11517,9 @@ void update_sta_info(_adapter *padapter, struct sta_info *psta) update_ldpc_stbc_cap(psta); - _enter_critical_bh(&psta->lock, &irqL); + _enter_critical_ex(&psta->lock, &irqL); psta->state = _FW_LINKED; - _exit_critical_bh(&psta->lock, &irqL); + _exit_critical_ex(&psta->lock, &irqL); }