OSDN Git Service

staging: rtl8723au: rtw_createbss_cmd23a_callback(): Relax holding of pmlmepriv-...
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:45 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:11:59 +0000 (13:11 -0700)
commit5290cd688e07fb492f3a049960f3b76ff776d218
treed78077459b5e53520c563f705392c6f26a5e4904
parent5d8b411b33ca7c5a08ce6617a168810da2d97ddb
staging: rtl8723au: rtw_createbss_cmd23a_callback(): Relax holding of pmlmepriv->lock

We only really need to hold pmlmepriv->lock while calling
rtw_indicate_connect23a(). rtw_get_stainfo23a() and
rtw_alloc_stainfo23a() rely on pstapriv->sta_hash_lock and the non
WIFI_AP_STATE path relies on pmlmepvi->scanned_queue.lock, except we
need to used clr_fwstate() instead of _clr_fwstate_().

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_cmd.c