qcacmn: fix spinlock paring issue

spin_lock/spin_unlock is not pairing.

Change-Id: Ib2cb73f542deee8bf4217daa731af49d07eaf7be
CRs-Fixed: 2105081
This commit is contained in:
Paul Zhang
2017-10-17 13:51:09 +08:00
committed by snandini
orang tua 449a2a0425
melakukan 66698093e1

Melihat File

@@ -147,8 +147,10 @@ struct dp_tx_desc_pool_s *dp_tx_create_flow_pool(struct dp_soc *soc,
return pool;
}
if (dp_tx_desc_pool_alloc(soc, flow_pool_id, flow_pool_size))
if (dp_tx_desc_pool_alloc(soc, flow_pool_id, flow_pool_size)) {
qdf_spin_unlock_bh(&pool->flow_pool_lock);
return NULL;
}
stop_threshold = wlan_cfg_get_tx_flow_stop_queue_th(soc->wlan_cfg_ctx);
start_threshold = stop_threshold +