mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
Staging: rtl8192e: Rename variable DelbaParamSet
Rename variable DelbaParamSet to del_ba_param_set to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20231127054305.148276-12-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
536b207c45
commit
30b4c01ccc
|
|
@ -127,7 +127,7 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst,
|
|||
struct ba_record *ba,
|
||||
enum tr_select TxRxSelect, u16 reason_code)
|
||||
{
|
||||
union delba_param_set DelbaParamSet;
|
||||
union delba_param_set del_ba_param_set;
|
||||
struct sk_buff *skb = NULL;
|
||||
struct ieee80211_hdr_3addr *del_ba = NULL;
|
||||
u8 *tag = NULL;
|
||||
|
|
@ -137,10 +137,10 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst,
|
|||
netdev_dbg(ieee->dev, "%s(): reason_code(%d) sentd to: %pM\n",
|
||||
__func__, reason_code, dst);
|
||||
|
||||
memset(&DelbaParamSet, 0, 2);
|
||||
memset(&del_ba_param_set, 0, 2);
|
||||
|
||||
DelbaParamSet.field.initiator = (TxRxSelect == TX_DIR) ? 1 : 0;
|
||||
DelbaParamSet.field.tid = ba->ba_param_set.field.tid;
|
||||
del_ba_param_set.field.initiator = (TxRxSelect == TX_DIR) ? 1 : 0;
|
||||
del_ba_param_set.field.tid = ba->ba_param_set.field.tid;
|
||||
|
||||
skb = dev_alloc_skb(len + sizeof(struct ieee80211_hdr_3addr));
|
||||
if (!skb)
|
||||
|
|
@ -160,7 +160,7 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst,
|
|||
*tag++ = ACT_CAT_BA;
|
||||
*tag++ = ACT_DELBA;
|
||||
|
||||
put_unaligned_le16(DelbaParamSet.short_data, tag);
|
||||
put_unaligned_le16(del_ba_param_set.short_data, tag);
|
||||
tag += 2;
|
||||
|
||||
put_unaligned_le16(reason_code, tag);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user