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

Commit dd99df0d authored by Wei Wang's avatar Wei Wang Committed by Android (Google) Code Review
Browse files

Merge "Fail sanity check when BSSID is empty in RTT request" into mnc-dev

parents 25af46b0 3e9a1775
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -829,7 +829,8 @@ public class RttManager {
            Log.e(TAG, "Request " + index + ": two side RTT is not supported");
            return false;
        }  else if(params.bssid == null || params.bssid.isEmpty()) {
            Log.e(TAG,"No BSSID is input");
            Log.e(TAG,"No BSSID in params");
            return false;
        } else if ( params.numberBurst != 0 ) {
            Log.e(TAG, "Request " + index + ": Illegal number of burst: " + params.numberBurst);
            return false;