mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 16:17:41 -04:00
Staging: rtl8192e: Rename variable CntAfterLink
Rename variable CntAfterLink to cnt_after_link to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/20240612032230.9738-13-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ced94ab7a3
commit
bb0d74d418
@@ -951,10 +951,10 @@ static void _rtl92e_watchdog_wq_cb(void *data)
|
||||
return;
|
||||
|
||||
if (priv->rtllib->link_state >= MAC80211_LINKED) {
|
||||
if (priv->rtllib->CntAfterLink < 2)
|
||||
priv->rtllib->CntAfterLink++;
|
||||
if (priv->rtllib->cnt_after_link < 2)
|
||||
priv->rtllib->cnt_after_link++;
|
||||
} else {
|
||||
priv->rtllib->CntAfterLink = 0;
|
||||
priv->rtllib->cnt_after_link = 0;
|
||||
}
|
||||
|
||||
rtl92e_dm_watchdog(dev);
|
||||
|
||||
@@ -241,7 +241,7 @@ static int _rtl92e_wx_set_scan(struct net_device *dev,
|
||||
(ieee->link_state <= RTLLIB_ASSOCIATING_AUTHENTICATED))
|
||||
return 0;
|
||||
if ((priv->rtllib->link_state == MAC80211_LINKED) &&
|
||||
(priv->rtllib->CntAfterLink < 2))
|
||||
(priv->rtllib->cnt_after_link < 2))
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1168,7 +1168,7 @@ struct rtllib_device {
|
||||
bool disable_mgnt_queue;
|
||||
|
||||
unsigned long status;
|
||||
u8 CntAfterLink;
|
||||
u8 cnt_after_link;
|
||||
|
||||
enum rt_op_mode op_mode;
|
||||
|
||||
|
||||
@@ -280,7 +280,7 @@ static void rtllib_tx_query_agg_cap(struct rtllib_device *ieee,
|
||||
if (is_multicast_ether_addr(hdr->addr1))
|
||||
return;
|
||||
|
||||
if (tcb_desc->bdhcp || ieee->CntAfterLink < 2)
|
||||
if (tcb_desc->bdhcp || ieee->cnt_after_link < 2)
|
||||
return;
|
||||
|
||||
if (ht_info->iot_action & HT_IOT_ACT_TX_NO_AGGREGATION)
|
||||
|
||||
Reference in New Issue
Block a user