staging: rtl8192e: rename function Dot11d_Channelmap to dot11d_channel_map - style
Rename function Dot11d_Channelmap to dot11d_channel_map to fix checkpatch warning: Avoid CamelCase. Signed-off-by: Himadri Pandya <himadri18.07@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3b6effbc38
commit
30c311a2a4
|
@ -56,7 +56,7 @@ void dot11d_init(struct rtllib_device *ieee)
|
|||
}
|
||||
EXPORT_SYMBOL(dot11d_init);
|
||||
|
||||
void Dot11d_Channelmap(u8 channel_plan, struct rtllib_device *ieee)
|
||||
void dot11d_channel_map(u8 channel_plan, struct rtllib_device *ieee)
|
||||
{
|
||||
int i, max_chan = 14, min_chan = 1;
|
||||
|
||||
|
@ -96,7 +96,7 @@ void Dot11d_Channelmap(u8 channel_plan, struct rtllib_device *ieee)
|
|||
break;
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(Dot11d_Channelmap);
|
||||
EXPORT_SYMBOL(dot11d_channel_map);
|
||||
|
||||
void Dot11d_Reset(struct rtllib_device *ieee)
|
||||
{
|
||||
|
|
|
@ -82,7 +82,7 @@ static inline void RESET_CIE_WATCHDOG(struct rtllib_device *__pIeeeDev)
|
|||
#define UPDATE_CIE_WATCHDOG(__pIeeeDev) (++GET_CIE_WATCHDOG(__pIeeeDev))
|
||||
|
||||
void dot11d_init(struct rtllib_device *dev);
|
||||
void Dot11d_Channelmap(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_UpdateCountryIe(struct rtllib_device *dev, u8 *pTaddr,
|
||||
u16 CoutryIeLen, u8 *pCoutryIe);
|
||||
|
|
|
@ -1049,7 +1049,7 @@ static short _rtl92e_get_channel_map(struct net_device *dev)
|
|||
}
|
||||
RT_TRACE(COMP_INIT, "Channel plan is %d\n", priv->ChannelPlan);
|
||||
dot11d_init(priv->rtllib);
|
||||
Dot11d_Channelmap(priv->ChannelPlan, priv->rtllib);
|
||||
dot11d_channel_map(priv->ChannelPlan, priv->rtllib);
|
||||
for (i = 1; i <= 11; i++)
|
||||
(priv->rtllib->active_channel_map)[i] = 1;
|
||||
(priv->rtllib->active_channel_map)[12] = 2;
|
||||
|
|
Loading…
Reference in New Issue