Browse Source

qcacld-3.0: Free wow params as apart of the suspend/resume

Free wow params as apart of the suspend/resume.

Change-Id: I6a3ab9098704cfd7e7d270b0a77f0521ae9d9ce9
CRs-Fixed: 2019140
Mukul Sharma 8 năm trước cách đây
mục cha
commit
72ffb7e14b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      core/hdd/src/wlan_hdd_driver_ops.c

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

@@ -600,6 +600,8 @@ static int __wlan_hdd_bus_suspend(pm_message_t state,
 	}
 
 	hdd_info("bus suspend succeeded");
+	qdf_mem_free(params);
+	params = NULL;
 	return 0;
 
 resume_wma: