Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c410ad8a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[WPA3] Fix typo in AP key comparison method" into qt-dev

parents a7423ca9 0e6b3763
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1240,7 +1240,7 @@ public class AccessPoint implements Comparable<AccessPoint> {
                // Special handling for PSK-SAE transition mode. If the AP has advertised both,
                // we compare the key with both PSK and SAE for a match.
                return TextUtils.equals(mKey.substring(0, mKey.lastIndexOf(',')),
                        compareTo.substring(0, mKey.lastIndexOf(',')));
                        compareTo.substring(0, compareTo.lastIndexOf(',')));
            }
        }
        return mKey.equals(compareTo);