Staging: rtl8192e: Rename function SendDisassociation()
Rename function SendDisassociation to send_disassociation to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20240106055556.430948-18-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
053e3b7c4d
commit
c41616e98a
@ -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,
|
||||
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);
|
||||
|
||||
int rtllib_softmac_init(struct rtllib_device *ieee);
|
||||
|
@ -1998,7 +1998,7 @@ void rtllib_stop_protocol(struct rtllib_device *ieee)
|
||||
|
||||
if (ieee->link_state == MAC80211_LINKED) {
|
||||
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);
|
||||
}
|
||||
|
||||
@ -2199,7 +2199,7 @@ rtllib_disassociate_skb(struct rtllib_network *beacon,
|
||||
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 sk_buff *skb;
|
||||
|
@ -636,7 +636,7 @@ int rtllib_wx_set_mlme(struct rtllib_device *ieee,
|
||||
|
||||
ieee->cannot_notify = true;
|
||||
|
||||
SendDisassociation(ieee, deauth, mlme->reason_code);
|
||||
send_disassociation(ieee, deauth, mlme->reason_code);
|
||||
rtllib_disassociate(ieee);
|
||||
|
||||
ieee->wap_set = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user