qcacld-3.0: Rectify mac address validation check

In function hdd_dis_connect_handler, before calling ucfg_ipa_wlan_evt,
the driver validates the mac address being passed. Currently this
validation is not done properly and valid mac address are marked as
invalid.

Replace the incorrect validation API with the correct one.

Change-Id: Ia6bee986089bc0f0defe94ede1d093210bc47034
CRs-Fixed: 2664190
这个提交包含在:
Sourav Mohapatra
2020-04-17 10:14:11 +05:30
提交者 nshrivas
父节点 5a10ab54ce
当前提交 0ee5697aeb

查看文件

@@ -1827,7 +1827,8 @@ static QDF_STATUS hdd_dis_connect_handler(struct hdd_adapter *adapter,
WLAN_CONTROL_PATH); WLAN_CONTROL_PATH);
if (ucfg_ipa_is_enabled() && if (ucfg_ipa_is_enabled() &&
(hdd_is_valid_mac_address(sta_ctx->conn_info.bssid.bytes))) QDF_IS_STATUS_SUCCESS(wlan_hdd_validate_mac_address(
&sta_ctx->conn_info.bssid)))
ucfg_ipa_wlan_evt(hdd_ctx->pdev, adapter->dev, ucfg_ipa_wlan_evt(hdd_ctx->pdev, adapter->dev,
adapter->device_mode, adapter->device_mode,
adapter->vdev_id, adapter->vdev_id,