Commit 53c72c4c authored by William Durand's avatar William Durand Committed by Greg Kroah-Hartman

staging: rtl8192e: rename TID to tid in delba_param_set union

This change uses lowercase for a field name to be more consistent with
the rest of the union.
Signed-off-by: default avatarWilliam Durand <will+git@drnd.me>
Link: https://lore.kernel.org/r/20210219161400.29316-6-will+git@drnd.meSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b3d5b115
...@@ -44,7 +44,7 @@ union delba_param_set { ...@@ -44,7 +44,7 @@ union delba_param_set {
struct { struct {
u16 reserved:11; u16 reserved:11;
u16 initiator:1; u16 initiator:1;
u16 TID:4; u16 tid:4;
} field; } field;
}; };
......
...@@ -142,7 +142,7 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, ...@@ -142,7 +142,7 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst,
memset(&DelbaParamSet, 0, 2); memset(&DelbaParamSet, 0, 2);
DelbaParamSet.field.initiator = (TxRxSelect == TX_DIR) ? 1 : 0; DelbaParamSet.field.initiator = (TxRxSelect == TX_DIR) ? 1 : 0;
DelbaParamSet.field.TID = pBA->BaParamSet.field.tid; DelbaParamSet.field.tid = pBA->BaParamSet.field.tid;
skb = dev_alloc_skb(len + sizeof(struct rtllib_hdr_3addr)); skb = dev_alloc_skb(len + sizeof(struct rtllib_hdr_3addr));
if (!skb) if (!skb)
...@@ -444,11 +444,11 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) ...@@ -444,11 +444,11 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb)
struct rx_ts_record *pRxTs; struct rx_ts_record *pRxTs;
if (!GetTs(ieee, (struct ts_common_info **)&pRxTs, dst, if (!GetTs(ieee, (struct ts_common_info **)&pRxTs, dst,
(u8)pDelBaParamSet->field.TID, RX_DIR, false)) { (u8)pDelBaParamSet->field.tid, RX_DIR, false)) {
netdev_warn(ieee->dev, netdev_warn(ieee->dev,
"%s(): can't get TS for RXTS. dst:%pM TID:%d\n", "%s(): can't get TS for RXTS. dst:%pM TID:%d\n",
__func__, dst, __func__, dst,
(u8)pDelBaParamSet->field.TID); (u8)pDelBaParamSet->field.tid);
return -1; return -1;
} }
...@@ -457,7 +457,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) ...@@ -457,7 +457,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb)
struct tx_ts_record *pTxTs; struct tx_ts_record *pTxTs;
if (!GetTs(ieee, (struct ts_common_info **)&pTxTs, dst, if (!GetTs(ieee, (struct ts_common_info **)&pTxTs, dst,
(u8)pDelBaParamSet->field.TID, TX_DIR, false)) { (u8)pDelBaParamSet->field.tid, TX_DIR, false)) {
netdev_warn(ieee->dev, "%s(): can't get TS for TXTS\n", netdev_warn(ieee->dev, "%s(): can't get TS for TXTS\n",
__func__); __func__);
return -1; return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment