瀏覽代碼

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 <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Jes Sorensen 10 年之前
父節點
當前提交
ed2be12e0a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/staging/rtl8723au/core/rtw_mlme_ext.c

+ 1 - 1
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;
 			}