소스 검색

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
Krunal Soni 7 년 전
부모
커밋
9c2ee03d1a
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      core/hdd/src/wlan_hdd_main.c

+ 6 - 0
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;