From: Jes Sorensen Date: Mon, 23 Mar 2015 20:54:08 +0000 (-0400) Subject: staging: rtl8723au: Fix mis-placed break X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ed2be12e0a2901176ad2930443322d4aa53fe6b0;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8723au: Fix mis-placed break In 7c3a8f2a5ec95e2b13704562f36321e20ddfc190 I made a mistake and moved a break below a bracket, causing a situation where the for loop would always exit when it shouldn't. This patch corrects that mistake. Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c index d01ca1d75254..cafc82dd1ee9 100644 --- a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c @@ -1614,8 +1614,8 @@ OnAssocReq23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame) else pstat->uapsd_be = 0; + break; } - break; } else { break; }