diff options
| -rw-r--r-- | core/hdd/src/wlan_hdd_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 3f7e42124e37..0eea63413beb 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -7834,7 +7834,6 @@ static hdd_context_t *hdd_context_create(struct device *dev) cds_set_multicast_logging(hdd_ctx->config->multicast_host_fw_msgs); - wlan_hdd_init_chan_info(hdd_ctx); ret = wlan_hdd_init_tx_rx_histogram(hdd_ctx); if (ret) goto err_deinit_hdd_context; @@ -9781,6 +9780,8 @@ int hdd_wlan_startup(struct device *dev) goto err_stop_modules; } + wlan_hdd_init_chan_info(hdd_ctx); + ret = hdd_wiphy_init(hdd_ctx); if (ret) { hdd_err("Failed to initialize wiphy: %d", ret); |
