From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 19:04:25 +0000 (+0200) Subject: staging: rtl8192e: rtl_wx: Fix BRACES warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a2e681faa50baa078c8d129e929f0e51b7c07877;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: rtl_wx: Fix BRACES warning Fix checkpatch BRACES warning. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- 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: