Commit b7e6e1ef authored by Tree Davies's avatar Tree Davies Committed by Greg Kroah-Hartman

Staging: rtl8192e: Rename function RemovePeerTS()

Rename function RemovePeerTS to remove_peer_ts to fix checkpatch warning Avoid
CamelCase.
Signed-off-by: default avatarTree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20240106055556.430948-16-tdavies@darkphysics.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f70205ad
...@@ -1031,7 +1031,7 @@ static void _rtl92e_watchdog_wq_cb(void *data) ...@@ -1031,7 +1031,7 @@ static void _rtl92e_watchdog_wq_cb(void *data)
ieee->link_state = RTLLIB_ASSOCIATING; ieee->link_state = RTLLIB_ASSOCIATING;
RemovePeerTS(priv->rtllib, remove_peer_ts(priv->rtllib,
priv->rtllib->current_network.bssid); priv->rtllib->current_network.bssid);
ieee->is_roaming = true; ieee->is_roaming = true;
ieee->is_set_key = false; ieee->is_set_key = false;
......
...@@ -360,7 +360,7 @@ static void RemoveTsEntry(struct rtllib_device *ieee, ...@@ -360,7 +360,7 @@ static void RemoveTsEntry(struct rtllib_device *ieee,
} }
} }
void RemovePeerTS(struct rtllib_device *ieee, u8 *addr) void remove_peer_ts(struct rtllib_device *ieee, u8 *addr)
{ {
struct ts_common_info *ts, *pTmpTS; struct ts_common_info *ts, *pTmpTS;
...@@ -400,7 +400,7 @@ void RemovePeerTS(struct rtllib_device *ieee, u8 *addr) ...@@ -400,7 +400,7 @@ void RemovePeerTS(struct rtllib_device *ieee, u8 *addr)
} }
} }
} }
EXPORT_SYMBOL(RemovePeerTS); EXPORT_SYMBOL(remove_peer_ts);
void remove_all_ts(struct rtllib_device *ieee) void remove_all_ts(struct rtllib_device *ieee)
{ {
......
...@@ -1788,7 +1788,7 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 ...@@ -1788,7 +1788,7 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8
void rtllib_ts_init(struct rtllib_device *ieee); void rtllib_ts_init(struct rtllib_device *ieee);
void TsStartAddBaProcess(struct rtllib_device *ieee, void TsStartAddBaProcess(struct rtllib_device *ieee,
struct tx_ts_record *pTxTS); struct tx_ts_record *pTxTS);
void RemovePeerTS(struct rtllib_device *ieee, u8 *addr); void remove_peer_ts(struct rtllib_device *ieee, u8 *addr);
void remove_all_ts(struct rtllib_device *ieee); void remove_all_ts(struct rtllib_device *ieee);
static inline const char *escape_essid(const char *essid, u8 essid_len) static inline const char *escape_essid(const char *essid, u8 essid_len)
......
...@@ -1736,7 +1736,7 @@ rtllib_rx_deauth(struct rtllib_device *ieee, struct sk_buff *skb) ...@@ -1736,7 +1736,7 @@ rtllib_rx_deauth(struct rtllib_device *ieee, struct sk_buff *skb)
ieee->is_roaming = true; ieee->is_roaming = true;
ieee->link_detect_info.busy_traffic = false; ieee->link_detect_info.busy_traffic = false;
rtllib_disassociate(ieee); rtllib_disassociate(ieee);
RemovePeerTS(ieee, header->addr2); remove_peer_ts(ieee, header->addr2);
if (!(ieee->rtllib_ap_sec_type(ieee) & if (!(ieee->rtllib_ap_sec_type(ieee) &
(SEC_ALG_CCMP | SEC_ALG_TKIP))) (SEC_ALG_CCMP | SEC_ALG_TKIP)))
schedule_delayed_work( schedule_delayed_work(
...@@ -2247,7 +2247,7 @@ static void rtllib_MlmeDisassociateRequest(struct rtllib_device *rtllib, ...@@ -2247,7 +2247,7 @@ static void rtllib_MlmeDisassociateRequest(struct rtllib_device *rtllib,
u8 i; u8 i;
u8 op_mode; u8 op_mode;
RemovePeerTS(rtllib, asSta); remove_peer_ts(rtllib, asSta);
if (memcmp(rtllib->current_network.bssid, asSta, 6) == 0) { if (memcmp(rtllib->current_network.bssid, asSta, 6) == 0) {
rtllib->link_state = MAC80211_NOLINK; rtllib->link_state = MAC80211_NOLINK;
......
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