staging: rtl8723au: Fix mis-placed break
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 23 Mar 2015 20:54:08 +0000 (16:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Mar 2015 21:40:29 +0000 (22:40 +0100)
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>
drivers/staging/rtl8723au/core/rtw_mlme_ext.c

index d01ca1d75254d38c330ad26aab7ed6868f9e13a4..cafc82dd1ee9b9cabde1a6f661a34fe4afbe50f4 100644 (file)
@@ -1614,8 +1614,8 @@ OnAssocReq23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame)
                                        else
                                                pstat->uapsd_be = 0;
 
+                                       break;
                                }
-                               break;
                        } else {
                                break;
                        }