mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacmn: Move DFS functions to appropriate files
Move the functions dfs_set_update_nol_flag and dfs_get_update_nol_flag from dfs_cac.c to dfs_nol.c. Change-Id: Ie2829bf10d5c6f61c4cc062f54c4c9ca2cc6e34b CRs-Fixed: 2252573
This commit is contained in:
parent
4a8f66f382
commit
916926fd97
2 changed files with 11 additions and 11 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2007-2008 Sam Leffler, Errno Consulting
|
||||
* All rights reserved.
|
||||
*
|
||||
|
|
@ -78,16 +78,6 @@ void dfs_cac_valid_reset(struct wlan_dfs *dfs,
|
|||
}
|
||||
}
|
||||
|
||||
void dfs_set_update_nol_flag(struct wlan_dfs *dfs, bool val)
|
||||
{
|
||||
dfs->update_nol = val;
|
||||
}
|
||||
|
||||
bool dfs_get_update_nol_flag(struct wlan_dfs *dfs)
|
||||
{
|
||||
return dfs->update_nol;
|
||||
}
|
||||
|
||||
/**
|
||||
* dfs_cac_valid_timeout() - Timeout function for dfs_cac_valid_timer
|
||||
* cac_valid bit will be reset in this function.
|
||||
|
|
|
|||
|
|
@ -39,6 +39,16 @@
|
|||
#include "../dfs_partial_offload_radar.h"
|
||||
#endif
|
||||
|
||||
void dfs_set_update_nol_flag(struct wlan_dfs *dfs, bool val)
|
||||
{
|
||||
dfs->update_nol = val;
|
||||
}
|
||||
|
||||
bool dfs_get_update_nol_flag(struct wlan_dfs *dfs)
|
||||
{
|
||||
return dfs->update_nol;
|
||||
}
|
||||
|
||||
/**
|
||||
* dfs_nol_timeout() - NOL timeout function.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue