Update public source
This commit is contained in:
+14
-5
@@ -762,13 +762,22 @@ class WiFiConnectionService:
|
||||
self,
|
||||
interface,
|
||||
bssid,
|
||||
password=None
|
||||
password=None,
|
||||
access_point=None
|
||||
):
|
||||
|
||||
access_point = self.get_access_point(
|
||||
interface,
|
||||
bssid
|
||||
)
|
||||
if access_point is None:
|
||||
|
||||
access_point = self.get_access_point(
|
||||
interface,
|
||||
bssid
|
||||
)
|
||||
|
||||
elif access_point.bssid.lower() != bssid.lower():
|
||||
|
||||
raise WiFiConnectionError(
|
||||
"The supplied access point does not match the requested BSSID."
|
||||
)
|
||||
|
||||
profile_uuid = self._create_temporary_profile(
|
||||
interface,
|
||||
|
||||
Reference in New Issue
Block a user