Browse Source

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 years ago
parent
commit
ed2be12e0a
1 changed files with 1 additions and 1 deletions
  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
 					else
 						pstat->uapsd_be = 0;
 						pstat->uapsd_be = 0;
 
 
+					break;
 				}
 				}
-				break;
 			} else {
 			} else {
 				break;
 				break;
 			}
 			}