diff options
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_main.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c index 9df6dfe484b2..5b31fcf92864 100644 --- a/CORE/HDD/src/wlan_hdd_main.c +++ b/CORE/HDD/src/wlan_hdd_main.c @@ -9122,13 +9122,6 @@ int hdd_wlan_startup(struct device *dev, v_VOID_t *hif_sc) goto err_config; } - if ( VOS_STATUS_SUCCESS != hdd_update_mac_config( pHddCtx ) ) - { - hddLog(VOS_TRACE_LEVEL_WARN, - "%s: can't update mac config, using MAC from ini file", - __func__); - } - pHddCtx->current_intf_count=0; pHddCtx->max_intf_count = WLAN_MAX_INTERFACES; @@ -9406,6 +9399,14 @@ int hdd_wlan_startup(struct device *dev, v_VOID_t *hif_sc) } #endif //WLAN_AUTOGEN_MACADDR_FEATURE && QCA_WIFI_ISOC } + + if ( VOS_STATUS_SUCCESS != hdd_update_mac_config( pHddCtx ) ) + { + hddLog(VOS_TRACE_LEVEL_WARN, + "%s: can't update mac config, using MAC from ini file", + __func__); + } + { eHalStatus halStatus; // Set the MAC Address |
