From: Jes Sorensen Date: Tue, 15 Apr 2014 17:44:12 +0000 (+0200) Subject: staging: rtl8723au: update_bcn_vendor_spec_ie(): Go easy on those brackets X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ab6fb7a503b03850524f70272545b6f4d6c747bb;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8723au: update_bcn_vendor_spec_ie(): Go easy on those brackets Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_ap.c b/drivers/staging/rtl8723au/core/rtw_ap.c index bbf8b2eabdb3..207a19e4dc9f 100644 --- a/drivers/staging/rtl8723au/core/rtw_ap.c +++ b/drivers/staging/rtl8723au/core/rtw_ap.c @@ -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)