mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
qcacld-3.0: QDF_ASSERT only when HDD fail to update mac to FW
Do assert only when HDD fail to update mac to FW. CRs-Fixed: 1086914 Change-Id: I8744a08790328f0d2f5e800a3ea597ca6a54bc49
This commit is contained in:
parent
c98f8ce45d
commit
1c2caa3b11
1 changed files with 5 additions and 5 deletions
|
|
@ -7361,12 +7361,12 @@ static void hdd_initialize_mac_address(hdd_context_t *hdd_ctx)
|
|||
|
||||
hdd_warn("can't update mac config via wlan_mac.bin, using MAC from ini file or auto-gen");
|
||||
|
||||
if (hdd_ctx->update_mac_addr_to_fw)
|
||||
if (hdd_ctx->update_mac_addr_to_fw) {
|
||||
ret = hdd_update_mac_addr_to_fw(hdd_ctx);
|
||||
|
||||
if (ret != 0) {
|
||||
hdd_err("MAC address out-of-sync, ret:%d", ret);
|
||||
QDF_ASSERT(ret);
|
||||
if (ret != 0) {
|
||||
hdd_err("MAC address out-of-sync, ret:%d", ret);
|
||||
QDF_ASSERT(ret);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue