mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Release OCB resources when stop adapter
Currently, driver does not release resources acquired when starting OCB adapter. So there is memory leak when stopping OCB adapter. CRs-Fixed: 2182236 Change-Id: I693f5ed86f55b00980f16cca1bb0567429a20385
This commit is contained in:
parent
4cf57e4458
commit
79d0d13265
1 changed files with 2 additions and 0 deletions
|
|
@ -4915,6 +4915,8 @@ QDF_STATUS hdd_stop_adapter(struct hdd_context *hdd_ctx,
|
|||
cdp_clear_peer(cds_get_context(QDF_MODULE_ID_SOC),
|
||||
(struct cdp_pdev *)cds_get_context(QDF_MODULE_ID_TXRX),
|
||||
WLAN_HDD_GET_STATION_CTX_PTR(adapter)->conn_info.staId[0]);
|
||||
hdd_deregister_tx_flow_control(adapter);
|
||||
hdd_vdev_destroy(adapter);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue