mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 04:19:23 -04:00
staging: rtl8192e: Rename rtl8192_getSupportedWireleeMode
Use naming schema found in other rtlwifi devices. Rename rtl8192_getSupportedWireleeMode to _rtl92e_get_supported_wireless_mode. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
66a5c29b33
commit
ee394a7f86
@@ -674,7 +674,7 @@ static void _rtl92e_refresh_support_rate(struct r8192_priv *priv)
|
||||
}
|
||||
}
|
||||
|
||||
static u8 rtl8192_getSupportedWireleeMode(struct net_device *dev)
|
||||
static u8 _rtl92e_get_supported_wireless_mode(struct net_device *dev)
|
||||
{
|
||||
struct r8192_priv *priv = rtllib_priv(dev);
|
||||
u8 ret = 0;
|
||||
@@ -699,7 +699,7 @@ static u8 rtl8192_getSupportedWireleeMode(struct net_device *dev)
|
||||
void rtl92e_set_wireless_mode(struct net_device *dev, u8 wireless_mode)
|
||||
{
|
||||
struct r8192_priv *priv = rtllib_priv(dev);
|
||||
u8 bSupportMode = rtl8192_getSupportedWireleeMode(dev);
|
||||
u8 bSupportMode = _rtl92e_get_supported_wireless_mode(dev);
|
||||
|
||||
if ((wireless_mode == WIRELESS_MODE_AUTO) ||
|
||||
((wireless_mode & bSupportMode) == 0)) {
|
||||
|
||||
Reference in New Issue
Block a user