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:
Vignesh U 2018-06-04 14:28:11 +05:30 • committed by nshrivas
commit 916926fd97
2 changed files with 11 additions and 11 deletions

View file

@ -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.

View file

@ -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.
*