diff options
author | Mateusz Kulikowski <mateusz.kulikowski@gmail.com> | 2015-09-20 21:04:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 04:26:06 +0200 |
commit | a2e681faa50baa078c8d129e929f0e51b7c07877 (patch) | |
tree | f7b5ac94db81281f5f7abeae780cdf1faea9c668 /drivers/staging/rtl8192e | |
parent | ba72f25b2588e1ac5980c9e1bb343630d6b5b03d (diff) |
staging: rtl8192e: rtl_wx: Fix BRACES warning
Fix checkpatch BRACES warning.
Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c index 240d765e5cc7..18dc3da2420a 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c @@ -819,13 +819,10 @@ static int _rtl92e_wx_set_retry(struct net_device *dev, err = -EINVAL; goto exit; } - if (wrqu->retry.flags & IW_RETRY_MAX) { + if (wrqu->retry.flags & IW_RETRY_MAX) priv->retry_rts = wrqu->retry.value; - - } else { + else priv->retry_data = wrqu->retry.value; - } - rtl92e_commit(dev); exit: |