qcacld-3.0: Release pre-cac adapter's mac addr once cac finishes
As per the design pre-cac adapter will be assigned temporary mac address till it finishes the CAC operation. Once the cac operation finishes with success or failure, pre-cac adapter's mac address needs to be released. In failure case, pre-cac adapter's mac address is getting released but in success case, it is not released which results in to error code -22 at upper layer. CRs-Fixed: 1108497 Change-Id: I95da8b20392548fa3482cb92046f79b3536709b0
This commit is contained in:
@@ -939,6 +939,8 @@ static void wlan_hdd_sap_pre_cac_success(void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
cds_ssr_protect(__func__);
|
cds_ssr_protect(__func__);
|
||||||
|
wlan_hdd_release_intf_addr(hdd_ctx,
|
||||||
|
pHostapdAdapter->macAddressCurrent.bytes);
|
||||||
hdd_stop_adapter(hdd_ctx, pHostapdAdapter, true);
|
hdd_stop_adapter(hdd_ctx, pHostapdAdapter, true);
|
||||||
hdd_close_adapter(hdd_ctx, pHostapdAdapter, false);
|
hdd_close_adapter(hdd_ctx, pHostapdAdapter, false);
|
||||||
cds_ssr_unprotect(__func__);
|
cds_ssr_unprotect(__func__);
|
||||||
|
Reference in New Issue
Block a user