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

Staging: rtl8192e: Rename function SendDisassociation()

Rename function SendDisassociation to send_disassociation to fix checkpatch
warning Avoid CamelCase.
Signed-off-by: default avatarTree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20240106055556.430948-18-tdavies@darkphysics.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 053e3b7c
...@@ -1662,7 +1662,7 @@ int rtllib_rx_frame_softmac(struct rtllib_device *ieee, struct sk_buff *skb, ...@@ -1662,7 +1662,7 @@ int rtllib_rx_frame_softmac(struct rtllib_device *ieee, struct sk_buff *skb,
void rtllib_softmac_new_net(struct rtllib_device *ieee, void rtllib_softmac_new_net(struct rtllib_device *ieee,
struct rtllib_network *net); struct rtllib_network *net);
void SendDisassociation(struct rtllib_device *ieee, bool deauth, u16 asRsn); void send_disassociation(struct rtllib_device *ieee, bool deauth, u16 asRsn);
void rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee); void rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee);
int rtllib_softmac_init(struct rtllib_device *ieee); int rtllib_softmac_init(struct rtllib_device *ieee);
......
...@@ -1998,7 +1998,7 @@ void rtllib_stop_protocol(struct rtllib_device *ieee) ...@@ -1998,7 +1998,7 @@ void rtllib_stop_protocol(struct rtllib_device *ieee)
if (ieee->link_state == MAC80211_LINKED) { if (ieee->link_state == MAC80211_LINKED) {
if (ieee->iw_mode == IW_MODE_INFRA) if (ieee->iw_mode == IW_MODE_INFRA)
SendDisassociation(ieee, 1, WLAN_REASON_DEAUTH_LEAVING); send_disassociation(ieee, 1, WLAN_REASON_DEAUTH_LEAVING);
rtllib_disassociate(ieee); rtllib_disassociate(ieee);
} }
...@@ -2199,7 +2199,7 @@ rtllib_disassociate_skb(struct rtllib_network *beacon, ...@@ -2199,7 +2199,7 @@ rtllib_disassociate_skb(struct rtllib_network *beacon,
return skb; return skb;
} }
void SendDisassociation(struct rtllib_device *ieee, bool deauth, u16 asRsn) void send_disassociation(struct rtllib_device *ieee, bool deauth, u16 asRsn)
{ {
struct rtllib_network *beacon = &ieee->current_network; struct rtllib_network *beacon = &ieee->current_network;
struct sk_buff *skb; struct sk_buff *skb;
......
...@@ -636,7 +636,7 @@ int rtllib_wx_set_mlme(struct rtllib_device *ieee, ...@@ -636,7 +636,7 @@ int rtllib_wx_set_mlme(struct rtllib_device *ieee,
ieee->cannot_notify = true; ieee->cannot_notify = true;
SendDisassociation(ieee, deauth, mlme->reason_code); send_disassociation(ieee, deauth, mlme->reason_code);
rtllib_disassociate(ieee); rtllib_disassociate(ieee);
ieee->wap_set = 0; ieee->wap_set = 0;
......
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