diff options
author | Puranjay Mohan <puranjay12@gmail.com> | 2019-05-01 23:46:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-02 20:43:18 +0300 |
commit | eca4e5f58b758e74e6065eb8bcab57067f1427f6 (patch) | |
tree | bf4546ef2fc0fee006098a2858317ad8abacbb9c /drivers/staging/rtl8192u | |
parent | 922fe878c78653fda011b176d3e4e355ba8f7479 (diff) | |
download | linux-eca4e5f58b758e74e6065eb8bcab57067f1427f6.tar.xz |
Staging: rtl8192u: ieee80211: Fix if-else indentation warning
Add tabs after if and else statements to
fix the following warnings from checkpatch.pl
WARNING: suspect code indent for conditional statements (8, 8)
+ if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev))
+ pBA->param_set.field.buffer_size = 1;
WARNING: suspect code indent for conditional statements (8, 8)
+ else
+ pBA->param_set.field.buffer_size = 32;
Signed-off-by: Puranjay Mohan <puranjay12@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c index 37ec3eee8651..53869b3c985c 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c @@ -384,9 +384,9 @@ int ieee80211_rx_ADDBAReq(struct ieee80211_device *ieee, struct sk_buff *skb) pBA->start_seq_ctrl = *pBaStartSeqCtrl; //for half N mode we only aggregate 1 frame if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) - pBA->param_set.field.buffer_size = 1; + pBA->param_set.field.buffer_size = 1; else - pBA->param_set.field.buffer_size = 32; + pBA->param_set.field.buffer_size = 32; ActivateBAEntry(ieee, pBA, pBA->timeout_value); ieee80211_send_ADDBARsp(ieee, dst, pBA, ADDBA_STATUS_SUCCESS); |