Bläddra i källkod

qcacld-3.0: disable pktlog as part of stop modules

Pktlog is not disabled as part of stop procedure. If
the DUT was booted up with WLAN turned off, the modules
will be loaded and after a timer expires they are
unloaded. At this point if WLAN was turned on, the start
procedure will try to enable pktlog and find that it
is already enabled, and will not send indication to
firmware.

Ensure pktlog is called as part of stop procedure.

Change-Id: If17fb597cabed59ef5a3220ba7e536820a940eaf
CRs-Fixed: 2349956
jitiphil 6 år sedan
förälder
incheckning
4e3bef4621
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      core/hdd/src/wlan_hdd_main.c

+ 2 - 0
core/hdd/src/wlan_hdd_main.c

@@ -10737,6 +10737,8 @@ static void hdd_features_deinit(struct hdd_context *hdd_ctx)
 	wlan_hdd_twt_deinit(hdd_ctx);
 	wlan_hdd_deinit_chan_info(hdd_ctx);
 	wlan_hdd_tsf_deinit(hdd_ctx);
+	if (cds_is_packet_log_enabled())
+		hdd_pktlog_enable_disable(hdd_ctx, false, 0, 0);
 }
 
 /**