diff options
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/java/android/net/wifi/RttManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wifi/java/android/net/wifi/RttManager.java b/wifi/java/android/net/wifi/RttManager.java index 7ced126..503e4a2 100644 --- a/wifi/java/android/net/wifi/RttManager.java +++ b/wifi/java/android/net/wifi/RttManager.java @@ -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; |