Commit 8e9f5da2 authored by Himadri Pandya's avatar Himadri Pandya Committed by Greg Kroah-Hartman

staging: rtl8192e: rename function Dot11d_Reset to dot11d_reset - style

Rename function Dot11d_Reset to dot11d_reset to fix checkpatch warning:
Avoid CamelCase.
Signed-off-by: default avatarHimadri Pandya <himadri18.07@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 30c311a2
...@@ -98,7 +98,7 @@ void dot11d_channel_map(u8 channel_plan, struct rtllib_device *ieee) ...@@ -98,7 +98,7 @@ void dot11d_channel_map(u8 channel_plan, struct rtllib_device *ieee)
} }
EXPORT_SYMBOL(dot11d_channel_map); EXPORT_SYMBOL(dot11d_channel_map);
void Dot11d_Reset(struct rtllib_device *ieee) void dot11d_reset(struct rtllib_device *ieee)
{ {
struct rt_dot11d_info *dot11d_info = GET_DOT11D_INFO(ieee); struct rt_dot11d_info *dot11d_info = GET_DOT11D_INFO(ieee);
u32 i; u32 i;
...@@ -167,7 +167,7 @@ void DOT11D_ScanComplete(struct rtllib_device *dev) ...@@ -167,7 +167,7 @@ void DOT11D_ScanComplete(struct rtllib_device *dev)
dot11d_info->state = DOT11D_STATE_DONE; dot11d_info->state = DOT11D_STATE_DONE;
break; break;
case DOT11D_STATE_DONE: case DOT11D_STATE_DONE:
Dot11d_Reset(dev); dot11d_reset(dev);
break; break;
case DOT11D_STATE_NONE: case DOT11D_STATE_NONE:
break; break;
......
...@@ -83,7 +83,7 @@ static inline void RESET_CIE_WATCHDOG(struct rtllib_device *__pIeeeDev) ...@@ -83,7 +83,7 @@ static inline void RESET_CIE_WATCHDOG(struct rtllib_device *__pIeeeDev)
void dot11d_init(struct rtllib_device *dev); void dot11d_init(struct rtllib_device *dev);
void dot11d_channel_map(u8 channel_plan, struct rtllib_device *ieee); void dot11d_channel_map(u8 channel_plan, struct rtllib_device *ieee);
void Dot11d_Reset(struct rtllib_device *dev); void dot11d_reset(struct rtllib_device *dev);
void Dot11d_UpdateCountryIe(struct rtllib_device *dev, u8 *pTaddr, void Dot11d_UpdateCountryIe(struct rtllib_device *dev, u8 *pTaddr,
u16 CoutryIeLen, u8 *pCoutryIe); u16 CoutryIeLen, u8 *pCoutryIe);
void DOT11D_ScanComplete(struct rtllib_device *dev); void DOT11D_ScanComplete(struct rtllib_device *dev);
......
...@@ -2759,7 +2759,7 @@ void rtllib_disassociate(struct rtllib_device *ieee) ...@@ -2759,7 +2759,7 @@ void rtllib_disassociate(struct rtllib_device *ieee)
if (ieee->data_hard_stop) if (ieee->data_hard_stop)
ieee->data_hard_stop(ieee->dev); ieee->data_hard_stop(ieee->dev);
if (IS_DOT11D_ENABLE(ieee)) if (IS_DOT11D_ENABLE(ieee))
Dot11d_Reset(ieee); dot11d_reset(ieee);
ieee->state = RTLLIB_NOLINK; ieee->state = RTLLIB_NOLINK;
ieee->is_set_key = false; ieee->is_set_key = false;
ieee->wap_set = 0; ieee->wap_set = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment