mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
Staging: rtl8192e: Rename variable ucTSID
Rename variable ucTSID to ts_id to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20231217235520.30377-4-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1cf5e0a366
commit
66547657a8
|
|
@ -474,7 +474,7 @@ void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *ts,
|
|||
ba->dialog_token++;
|
||||
ba->ba_param_set.field.amsdu_support = 0;
|
||||
ba->ba_param_set.field.ba_policy = policy;
|
||||
ba->ba_param_set.field.tid = ts->ts_common_info.tspec.ucTSID;
|
||||
ba->ba_param_set.field.tid = ts->ts_common_info.tspec.ts_id;
|
||||
ba->ba_param_set.field.buffer_size = 32;
|
||||
ba->ba_timeout_value = 0;
|
||||
ba->ba_start_seq_ctrl.field.seq_num = (ts->tx_cur_seq + 3) % 4096;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#define __INC_QOS_TYPE_H
|
||||
|
||||
struct qos_tsinfo {
|
||||
u8 ucTSID:4;
|
||||
u8 ts_id:4;
|
||||
u8 ucDirection:2;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ static struct ts_common_info *SearchAdmitTRStream(struct rtllib_device *ieee,
|
|||
continue;
|
||||
list_for_each_entry(pRet, psearch_list, list) {
|
||||
if (memcmp(pRet->addr, addr, 6) == 0 &&
|
||||
pRet->tspec.ucTSID == TID &&
|
||||
pRet->tspec.ts_id == TID &&
|
||||
pRet->tspec.ucDirection == dir)
|
||||
break;
|
||||
}
|
||||
|
|
@ -305,7 +305,7 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS,
|
|||
netdev_dbg(ieee->dev,
|
||||
"to init current TS, UP:%d, Dir:%d, addr: %pM ppTs=%p\n",
|
||||
UP, Dir, addr, *ppTS);
|
||||
ts_info->ucTSID = UP;
|
||||
ts_info->ts_id = UP;
|
||||
ts_info->ucDirection = Dir;
|
||||
|
||||
MakeTSEntry(*ppTS, addr, &tspec);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user