Skip to content

Commit a6efe93

Browse files
nixyogigregkh
authored andcommitted
staging: rtl8192e: Rename variable LeisurePSLeave
Rename variable LeisurePSLeave to leisure_ps_leave to avoid CamelCase which is not accepted by checkpatch. Signed-off-by: Yogesh Hegde <yogi.kernel@gmail.com> Link: https://lore.kernel.org/r/3c63f4d750b7365f233c35c676325c5e4ca54a4c.1687183827.git.yogi.kernel@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 0ec908b commit a6efe93

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/staging/rtl8192e/rtl8192e/rtl_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ static void _rtl92e_init_priv_handler(struct net_device *dev)
717717
priv->rtllib->handle_assoc_response = _rtl92e_handle_assoc_response;
718718
priv->rtllib->handle_beacon = _rtl92e_handle_beacon;
719719
priv->rtllib->set_wireless_mode = rtl92e_set_wireless_mode;
720-
priv->rtllib->LeisurePSLeave = rtl92e_leisure_ps_leave;
720+
priv->rtllib->leisure_ps_leave = rtl92e_leisure_ps_leave;
721721
priv->rtllib->set_bw_mode_handler = rtl92e_set_bw_mode;
722722
priv->rf_set_chan = rtl92e_set_channel;
723723

drivers/staging/rtl8192e/rtllib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1703,7 +1703,7 @@ struct rtllib_device {
17031703

17041704
void (*rtllib_ips_leave_wq)(struct net_device *dev);
17051705
void (*rtllib_ips_leave)(struct net_device *dev);
1706-
void (*LeisurePSLeave)(struct net_device *dev);
1706+
void (*leisure_ps_leave)(struct net_device *dev);
17071707

17081708
/* This must be the last item so that it points to the data
17091709
* allocated beyond this structure by alloc_rtllib

drivers/staging/rtl8192e/rtllib_rx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1200,7 +1200,7 @@ static void rtllib_rx_check_leave_lps(struct rtllib_device *ieee, u8 unicast,
12001200
if (((ieee->link_detect_info.NumRxUnicastOkInPeriod +
12011201
ieee->link_detect_info.NumTxOkInPeriod) > 8) ||
12021202
(ieee->link_detect_info.NumRxUnicastOkInPeriod > 2)) {
1203-
ieee->LeisurePSLeave(ieee->dev);
1203+
ieee->leisure_ps_leave(ieee->dev);
12041204
}
12051205
}
12061206
}

drivers/staging/rtl8192e/rtllib_softmac_wx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ void rtllib_wx_sync_scan_wq(void *data)
316316

317317
chan = ieee->current_network.channel;
318318

319-
ieee->LeisurePSLeave(ieee->dev);
319+
ieee->leisure_ps_leave(ieee->dev);
320320
/* notify AP to be in PS mode */
321321
rtllib_sta_ps_send_null_frame(ieee, 1);
322322
rtllib_sta_ps_send_null_frame(ieee, 1);

0 commit comments

Comments
 (0)