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>
This commit is contained in:
parent
0ec908bc79
commit
a6efe935c7
|
@ -717,7 +717,7 @@ static void _rtl92e_init_priv_handler(struct net_device *dev)
|
|||
priv->rtllib->handle_assoc_response = _rtl92e_handle_assoc_response;
|
||||
priv->rtllib->handle_beacon = _rtl92e_handle_beacon;
|
||||
priv->rtllib->set_wireless_mode = rtl92e_set_wireless_mode;
|
||||
priv->rtllib->LeisurePSLeave = rtl92e_leisure_ps_leave;
|
||||
priv->rtllib->leisure_ps_leave = rtl92e_leisure_ps_leave;
|
||||
priv->rtllib->set_bw_mode_handler = rtl92e_set_bw_mode;
|
||||
priv->rf_set_chan = rtl92e_set_channel;
|
||||
|
||||
|
|
|
@ -1703,7 +1703,7 @@ struct rtllib_device {
|
|||
|
||||
void (*rtllib_ips_leave_wq)(struct net_device *dev);
|
||||
void (*rtllib_ips_leave)(struct net_device *dev);
|
||||
void (*LeisurePSLeave)(struct net_device *dev);
|
||||
void (*leisure_ps_leave)(struct net_device *dev);
|
||||
|
||||
/* This must be the last item so that it points to the data
|
||||
* allocated beyond this structure by alloc_rtllib
|
||||
|
|
|
@ -1200,7 +1200,7 @@ static void rtllib_rx_check_leave_lps(struct rtllib_device *ieee, u8 unicast,
|
|||
if (((ieee->link_detect_info.NumRxUnicastOkInPeriod +
|
||||
ieee->link_detect_info.NumTxOkInPeriod) > 8) ||
|
||||
(ieee->link_detect_info.NumRxUnicastOkInPeriod > 2)) {
|
||||
ieee->LeisurePSLeave(ieee->dev);
|
||||
ieee->leisure_ps_leave(ieee->dev);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -316,7 +316,7 @@ void rtllib_wx_sync_scan_wq(void *data)
|
|||
|
||||
chan = ieee->current_network.channel;
|
||||
|
||||
ieee->LeisurePSLeave(ieee->dev);
|
||||
ieee->leisure_ps_leave(ieee->dev);
|
||||
/* notify AP to be in PS mode */
|
||||
rtllib_sta_ps_send_null_frame(ieee, 1);
|
||||
rtllib_sta_ps_send_null_frame(ieee, 1);
|
||||
|
|
Loading…
Reference in New Issue