Accepting empty deviceName, when requesting a BluetoothDevice.

This commit is contained in:
zakorgyula 2016-10-07 12:42:40 +02:00
parent 2b4829b89a
commit 4ed461c6e5
6 changed files with 10 additions and 22 deletions

View file

@ -217,9 +217,9 @@ fn canonicalize_filter(filter: &BluetoothRequestDeviceFilter) -> Fallible<Blueto
}
// Step 2.4.4.2.
name.to_string()
Some(name.to_string())
},
None => String::new(),
None => None,
};
// Step 2.4.5.