staging: rtl8723au: update_bcn_vendor_spec_ie(): Go easy on those brackets
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 15 Apr 2014 17:44:12 +0000 (19:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2014 18:04:03 +0000 (11:04 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ap.c

index bbf8b2eabdb3c09e3836f1c69ec4ff50883a635d..207a19e4dc9f1c7ecbb2fcbe02c286e4e8e90832 100644 (file)
@@ -1303,25 +1303,15 @@ static void update_bcn_vendor_spec_ie(struct rtw_adapter *padapter, u8*oui)
        DBG_8723A("%s\n", __func__);
 
        if (!memcmp(RTW_WPA_OUI23A_TYPE, oui, 4))
-       {
                update_bcn_wpa_ie(padapter);
-       }
        else if (!memcmp(WMM_OUI23A, oui, 4))
-       {
                update_bcn_wmm_ie(padapter);
-       }
        else if (!memcmp(WPS_OUI23A, oui, 4))
-       {
                update_bcn_wps_ie(padapter);
-       }
        else if (!memcmp(P2P_OUI23A, oui, 4))
-       {
                update_bcn_p2p_ie(padapter);
-       }
        else
-       {
                DBG_8723A("unknown OUI type!\n");
-       }
 }
 
 void update_beacon23a(struct rtw_adapter *padapter, u8 ie_id, u8 *oui, u8 tx)