diff options
| author | Yuanyuan Liu <yuanliu@codeaurora.org> | 2016-11-07 17:13:48 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-11-29 16:07:44 -0800 |
| commit | a485412e435429c30a1cb00266290d47c11247a9 (patch) | |
| tree | 0e14610b07224208fc5f737770f91442be3c71ff | |
| parent | 22a4380f69e53122df24c8adfdf81d4b7781fa19 (diff) | |
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
| -rw-r--r-- | core/hdd/src/wlan_hdd_main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 1fce6c32f067..9d5317e0cbb9 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -7382,12 +7382,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); + } } } |
