qcacld-3.0: Fix memory leak in CSR join request

Fix memory leak in CSR join request API.

Change-Id: Idddd0b70d4925e390cdfc8536c51ad1417f365ae
CRs-Fixed: 2942735
This commit is contained in:
Gururaj Pandurangi 2021-05-10 22:24:00 -07:00 • committed by Madan Koyyalamudi
commit 47eb72ef13

View file

@ -15441,7 +15441,7 @@ QDF_STATUS csr_send_join_req_msg(struct mac_context *mac, uint32_t sessionId,
if (wlan_reg_is_us(programmed_country)) {
sme_err("US VLP not in place yet, connection not allowed");
status = QDF_STATUS_E_NOSUPPORT;
return status;
break;
}
if (wlan_reg_is_etsi(programmed_country)) {
sme_debug("STA ctry:%c%c, doesn't match with AP ctry, switch to VLP",