Skip to content

Commit 9ebffbe

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Rename function rtllib_DisableNetMonitorMode()
Rename function rtllib_DisableNetMonitorMode to rtllib_disable_net_monitor_mode to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5315663 commit 9ebffbe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/staging/rtl8192e/rtllib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,7 @@ void rtllib_start_protocol(struct rtllib_device *ieee);
16781678
void rtllib_stop_protocol(struct rtllib_device *ieee);
16791679

16801680
void rtllib_EnableNetMonitorMode(struct net_device *dev, bool init_state);
1681-
void rtllib_DisableNetMonitorMode(struct net_device *dev, bool init_state);
1681+
void rtllib_disable_net_monitor_mode(struct net_device *dev, bool init_state);
16821682

16831683
void rtllib_softmac_stop_protocol(struct rtllib_device *ieee);
16841684
void rtllib_softmac_start_protocol(struct rtllib_device *ieee);

drivers/staging/rtl8192e/rtllib_softmac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ void rtllib_EnableNetMonitorMode(struct net_device *dev,
361361
/* Disables network monitor mode. Only packets destinated to
362362
* us will be received.
363363
*/
364-
void rtllib_DisableNetMonitorMode(struct net_device *dev,
364+
void rtllib_disable_net_monitor_mode(struct net_device *dev,
365365
bool init_state)
366366
{
367367
struct rtllib_device *ieee = netdev_priv_rsl(dev);

drivers/staging/rtl8192e/rtllib_softmac_wx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ int rtllib_wx_set_mode(struct rtllib_device *ieee, struct iw_request_info *a,
270270
} else {
271271
ieee->dev->type = ARPHRD_ETHER;
272272
if (ieee->iw_mode == IW_MODE_MONITOR)
273-
rtllib_DisableNetMonitorMode(ieee->dev, false);
273+
rtllib_disable_net_monitor_mode(ieee->dev, false);
274274
}
275275

276276
if (!ieee->proto_started) {

0 commit comments

Comments
 (0)