mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "qcacld-3.0: Free user defined WOWL patterns" into wlan-cld3.driver.lnx.2.0
This commit is contained in:
commit
007e7dcf04
3 changed files with 6 additions and 4 deletions
|
|
@ -174,10 +174,10 @@ bool hdd_enter_wowl(struct hdd_adapter *adapter,
|
|||
bool hdd_exit_wowl(struct hdd_adapter *adapter);
|
||||
|
||||
/**
|
||||
* hdd_deinit_wowl() - Deinit function to cleanup WoWL allocated memory
|
||||
* hdd_free_user_wowl_ptrns() - Deinit function to cleanup WoWL allocated memory
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void hdd_deinit_wowl(void);
|
||||
void hdd_free_user_wowl_ptrns(void);
|
||||
|
||||
#endif /* #ifndef _WLAN_HDD_WOWL_H */
|
||||
|
|
|
|||
|
|
@ -9605,6 +9605,9 @@ int hdd_wlan_stop_modules(struct hdd_context *hdd_ctx, bool ftm_mode)
|
|||
|
||||
hdd_info("Present Driver Status: %d", hdd_ctx->driver_status);
|
||||
|
||||
/* free user wowl patterns */
|
||||
hdd_free_user_wowl_ptrns();
|
||||
|
||||
switch (hdd_ctx->driver_status) {
|
||||
case DRIVER_MODULES_UNINITIALIZED:
|
||||
hdd_info("Modules not initialized just return");
|
||||
|
|
@ -11097,7 +11100,6 @@ err_out:
|
|||
*/
|
||||
void hdd_deinit(void)
|
||||
{
|
||||
hdd_deinit_wowl();
|
||||
qdf_timer_free(&hdd_drv_ops_inactivity_timer);
|
||||
|
||||
wlan_destroy_bug_report_lock();
|
||||
|
|
|
|||
|
|
@ -527,7 +527,7 @@ bool hdd_exit_wowl(struct hdd_adapter *adapter)
|
|||
return true;
|
||||
}
|
||||
|
||||
void hdd_deinit_wowl(void)
|
||||
void hdd_free_user_wowl_ptrns(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue