mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 17:01:14 +00:00
staging: rtl8723bs: hal: Replace function rtl8723b_set_wowlan_cmd()
Remove function rtl8723b_set_wowlan_cmd as all it does is call rtl8723b_set_FwWoWlanRelated_cmd. Rename rtl8723b_set_FwWoWlanRelated_cmd to rtl8723b_set_wowlan_cmd to maintain compatibility with call site. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lore.kernel.org/r/20190725052645.2372-4-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9dd2f1d9a1
commit
0528096df3
1 changed files with 1 additions and 6 deletions
|
@ -1300,7 +1300,7 @@ static void rtl8723b_set_FwScanOffloadInfo_cmd(struct adapter *padapter, PRSVDPA
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_PNO_SUPPORT */
|
#endif /* CONFIG_PNO_SUPPORT */
|
||||||
|
|
||||||
static void rtl8723b_set_FwWoWlanRelated_cmd(struct adapter *padapter, u8 enable)
|
void rtl8723b_set_wowlan_cmd(struct adapter *padapter, u8 enable)
|
||||||
{
|
{
|
||||||
struct security_priv *psecpriv = &padapter->securitypriv;
|
struct security_priv *psecpriv = &padapter->securitypriv;
|
||||||
struct pwrctrl_priv *ppwrpriv = adapter_to_pwrctl(padapter);
|
struct pwrctrl_priv *ppwrpriv = adapter_to_pwrctl(padapter);
|
||||||
|
@ -1346,11 +1346,6 @@ static void rtl8723b_set_FwWoWlanRelated_cmd(struct adapter *padapter, u8 enable
|
||||||
|
|
||||||
DBG_871X_LEVEL(_drv_always_, "-%s()-\n", __func__);
|
DBG_871X_LEVEL(_drv_always_, "-%s()-\n", __func__);
|
||||||
}
|
}
|
||||||
|
|
||||||
void rtl8723b_set_wowlan_cmd(struct adapter *padapter, u8 enable)
|
|
||||||
{
|
|
||||||
rtl8723b_set_FwWoWlanRelated_cmd(padapter, enable);
|
|
||||||
}
|
|
||||||
#endif /* CONFIG_WOWLAN */
|
#endif /* CONFIG_WOWLAN */
|
||||||
|
|
||||||
#ifdef CONFIG_AP_WOWLAN
|
#ifdef CONFIG_AP_WOWLAN
|
||||||
|
|
Loading…
Reference in a new issue