staging: rtl8723au: fix some confusing indenting
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 9 May 2014 13:04:31 +0000 (15:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:12:03 +0000 (13:12 -0700)
The break and the "unknown++" are at the same indent level so my static
checker complains.  The if statement should be indented more.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme_ext.c

index 2bd74f0..1789822 100644 (file)
@@ -1233,8 +1233,8 @@ static int rtw_validate_frame_ies(const u8 *start, uint len)
                case WLAN_EID_ERP_INFO:
                case WLAN_EID_EXT_SUPP_RATES:
                case WLAN_EID_VENDOR_SPECIFIC:
-               if (rtw_validate_vendor_specific_ies(pos, elen))
-                       unknown++;
+                       if (rtw_validate_vendor_specific_ies(pos, elen))
+                               unknown++;
                        break;
                case WLAN_EID_RSN:
                case WLAN_EID_PWR_CAPABILITY: