qcacld-3.0: aquire mutex qdf_conc_list_lock only if required

The mutex qdf_conc_list_lock should be used to protect the
access of conc_connection_list. If driver holds this lock and calls
sme api, then there is a chance of entering into a deadlock scenario
as sme api is going to aquire the sme global lock.

This change is going to make sure that driver doesn't hold
qdf_conc_list_lock and call any sme api.

CRs-Fixed: 1086929
Change-Id: I93819d13905609a6a2886b77e951db4253f281bd
1 file changed
tree: 5ff2c95f249eaf87f57456668148b3580be9a76e
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. README.txt