mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 13:57:54 -04:00
staging: rtl8192e: rename shortData to short_data in ba_param_set union
Fixes a checkpatch CHECK message. Signed-off-by: William Durand <will+git@drnd.me> Link: https://lore.kernel.org/r/20210219101206.18036-3-will+git@drnd.me Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
424e6a16c4
commit
113030ce24
@@ -29,7 +29,7 @@ union sequence_control {
|
||||
|
||||
union ba_param_set {
|
||||
u8 char_data[2];
|
||||
u16 shortData;
|
||||
u16 short_data;
|
||||
struct {
|
||||
u16 AMSDU_Support:1;
|
||||
u16 BAPolicy:1;
|
||||
|
||||
@@ -58,7 +58,7 @@ static u8 RxTsDeleteBA(struct rtllib_device *ieee, struct rx_ts_record *pRxTs)
|
||||
void ResetBaEntry(struct ba_record *pBA)
|
||||
{
|
||||
pBA->bValid = false;
|
||||
pBA->BaParamSet.shortData = 0;
|
||||
pBA->BaParamSet.short_data = 0;
|
||||
pBA->BaTimeoutValue = 0;
|
||||
pBA->DialogToken = 0;
|
||||
pBA->BaStartSeqCtrl.short_data = 0;
|
||||
@@ -107,7 +107,7 @@ static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst,
|
||||
tag += 2;
|
||||
}
|
||||
|
||||
put_unaligned_le16(pBA->BaParamSet.shortData, tag);
|
||||
put_unaligned_le16(pBA->BaParamSet.short_data, tag);
|
||||
tag += 2;
|
||||
|
||||
put_unaligned_le16(pBA->BaTimeoutValue, tag);
|
||||
|
||||
Reference in New Issue
Block a user