mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-03 09:04:21 +08:00
Staging: rtl8192e: Fix 5 chckpatch alignment warnings in rtl819x_BAProc.c
Add tabs and spaces to fix checkpatch warning: 'Alignment should match open parenthesis' Signed-off-by: Tree Davies <tdavies@darkphysics.net> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20240229024325.453374-2-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ad0498f3ad
commit
11f1861119
@ -254,7 +254,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb)
|
||||
goto OnADDBAReq_Fail;
|
||||
}
|
||||
if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst,
|
||||
(u8)(ba_param_set->field.tid), RX_DIR, true)) {
|
||||
(u8)(ba_param_set->field.tid), RX_DIR, true)) {
|
||||
rc = ADDBA_STATUS_REFUSED;
|
||||
netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__);
|
||||
goto OnADDBAReq_Fail;
|
||||
@ -277,7 +277,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb)
|
||||
ba->ba_start_seq_ctrl = *ba_start_seq_ctrl;
|
||||
|
||||
if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev) ||
|
||||
(ieee->ht_info->iot_action & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT))
|
||||
(ieee->ht_info->iot_action & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT))
|
||||
ba->ba_param_set.field.buffer_size = 1;
|
||||
else
|
||||
ba->ba_param_set.field.buffer_size = 32;
|
||||
@ -338,7 +338,7 @@ int rtllib_rx_add_ba_rsp(struct rtllib_device *ieee, struct sk_buff *skb)
|
||||
}
|
||||
|
||||
if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst,
|
||||
(u8)(ba_param_set->field.tid), TX_DIR, false)) {
|
||||
(u8)(ba_param_set->field.tid), TX_DIR, false)) {
|
||||
netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__);
|
||||
reason_code = DELBA_REASON_UNKNOWN_BA;
|
||||
goto OnADDBARsp_Reject;
|
||||
@ -433,7 +433,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb)
|
||||
struct rx_ts_record *ts;
|
||||
|
||||
if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst,
|
||||
(u8)del_ba_param_set->field.tid, RX_DIR, false)) {
|
||||
(u8)del_ba_param_set->field.tid, RX_DIR, false)) {
|
||||
netdev_warn(ieee->dev,
|
||||
"%s(): can't get TS for RXTS. dst:%pM TID:%d\n",
|
||||
__func__, dst,
|
||||
@ -446,7 +446,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb)
|
||||
struct tx_ts_record *ts;
|
||||
|
||||
if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst,
|
||||
(u8)del_ba_param_set->field.tid, TX_DIR, false)) {
|
||||
(u8)del_ba_param_set->field.tid, TX_DIR, false)) {
|
||||
netdev_warn(ieee->dev, "%s(): can't get TS for TXTS\n",
|
||||
__func__);
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user