mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
Staging: rtl8192e: Rename varoable asSta
Rename variable asSta to addr as it references bssid addr, and fixes checkpatch warning Avoid CamelCase, Signed-off-by: Tree Davies <tdavies@darkphysics.net> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20240227044157.407379-18-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
41df5318a8
commit
99c7328a0c
|
|
@ -2238,14 +2238,14 @@ u8 rtllib_ap_sec_type(struct rtllib_device *ieee)
|
|||
}
|
||||
|
||||
static void rtllib_mlme_disassociate_request(struct rtllib_device *rtllib,
|
||||
u8 *asSta, u8 rsn)
|
||||
u8 *addr, u8 rsn)
|
||||
{
|
||||
u8 i;
|
||||
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;
|
||||
|
||||
for (i = 0; i < 6; i++)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user