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

Staging: rtl8192e: Rename varoable asSta

Rename variable asSta to addr as it references bssid addr,
and fixes checkpatch warning Avoid CamelCase,
Signed-off-by: default avatarTree Davies <tdavies@darkphysics.net>
Tested-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240227044157.407379-18-tdavies@darkphysics.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 41df5318
...@@ -2238,14 +2238,14 @@ u8 rtllib_ap_sec_type(struct rtllib_device *ieee) ...@@ -2238,14 +2238,14 @@ u8 rtllib_ap_sec_type(struct rtllib_device *ieee)
} }
static void rtllib_mlme_disassociate_request(struct rtllib_device *rtllib, static void rtllib_mlme_disassociate_request(struct rtllib_device *rtllib,
u8 *asSta, u8 rsn) u8 *addr, u8 rsn)
{ {
u8 i; u8 i;
u8 op_mode; u8 op_mode;
remove_peer_ts(rtllib, asSta); remove_peer_ts(rtllib, addr);
if (memcmp(rtllib->current_network.bssid, asSta, 6) == 0) { if (memcmp(rtllib->current_network.bssid, addr, 6) == 0) {
rtllib->link_state = MAC80211_NOLINK; rtllib->link_state = MAC80211_NOLINK;
for (i = 0; i < 6; i++) for (i = 0; i < 6; i++)
......
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