qcacld-3.0: Fix race condition between kickout and disconnect

qcacld-2.0 to qcacld-3.0 propagation

There's race condition between kickout event and disconnect command. It
cause disconnect_comp_var is not completed properly. Add check in
lim_tear_down_link_with_ap to eliminate the race condition.

Change-Id: Iebe98911cc41e8b33f8f403b75c79a75a38ca0a6
CRs-Fixed: 2417753
1 file changed