From 9c2ee03d1a7a08775169521ba9de99fd56510c8e Mon Sep 17 00:00:00 2001 From: Krunal Soni Date: Tue, 18 Jul 2017 13:49:54 -0700 Subject: [PATCH] qcacld-3.0: Re-register the callbacks up on driver reinit operation Some of the callbacks in mac context gets initialized to NULL when SSR is triggered and up on reinitialization of driver, those callbacks need to be re-registered. CRs-Fixed: 2078706 Change-Id: I0ce9b0ab2680e7403536d6b4dd745c2bcb10791a --- core/hdd/src/wlan_hdd_main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 7b74190f255c..480b4faef366 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -5094,6 +5094,12 @@ QDF_STATUS hdd_start_all_adapters(hdd_context_t *hdd_ctx) default: break; } + /* + * Action frame registered in one adapter which will + * applicable to all interfaces + */ + wlan_hdd_cfg80211_register_frames(adapter); + get_adapter: status = hdd_get_next_adapter(hdd_ctx, adapterNode, &pNext); adapterNode = pNext;