mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 02:32:49 -04:00
Staging: rtl8192e: Rename function rtllib_MgntDisconnect()
Rename function rtllib_MgntDisconnect to rtllib_mgnt_disconnect fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20240106055556.430948-10-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6593d5bcf1
commit
5d8fef84aa
@@ -172,7 +172,7 @@ bool rtl92e_set_rf_state(struct net_device *dev,
|
||||
priv->blinked_ingpio = true;
|
||||
else
|
||||
priv->blinked_ingpio = false;
|
||||
rtllib_MgntDisconnect(priv->rtllib,
|
||||
rtllib_mgnt_disconnect(priv->rtllib,
|
||||
WLAN_REASON_DISASSOC_STA_HAS_LEFT);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1805,7 +1805,7 @@ static inline const char *escape_essid(const char *essid, u8 essid_len)
|
||||
}
|
||||
|
||||
/* fun with the built-in rtllib stack... */
|
||||
bool rtllib_MgntDisconnect(struct rtllib_device *rtllib, u8 asRsn);
|
||||
bool rtllib_mgnt_disconnect(struct rtllib_device *rtllib, u8 asRsn);
|
||||
|
||||
/* For the function is more related to hardware setting, it's better to use the
|
||||
* ieee handler to refer to it.
|
||||
|
||||
@@ -2278,7 +2278,7 @@ static void rtllib_mgnt_disconnect_ap(struct rtllib_device *rtllib, u8 asRsn)
|
||||
rtllib->link_state = MAC80211_NOLINK;
|
||||
}
|
||||
|
||||
bool rtllib_MgntDisconnect(struct rtllib_device *rtllib, u8 asRsn)
|
||||
bool rtllib_mgnt_disconnect(struct rtllib_device *rtllib, u8 asRsn)
|
||||
{
|
||||
if (rtllib->ps != RTLLIB_PS_DISABLED)
|
||||
rtllib->sta_wake_up(rtllib->dev);
|
||||
@@ -2290,7 +2290,7 @@ bool rtllib_MgntDisconnect(struct rtllib_device *rtllib, u8 asRsn)
|
||||
|
||||
return true;
|
||||
}
|
||||
EXPORT_SYMBOL(rtllib_MgntDisconnect);
|
||||
EXPORT_SYMBOL(rtllib_mgnt_disconnect);
|
||||
|
||||
void notify_wx_assoc_event(struct rtllib_device *ieee)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user