mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 11:50:14 +01:00
core: fix copying SSID from the connection to the hidden AP
This commit is contained in:
parent
e75f5bc862
commit
ce05bdb62e
1 changed files with 1 additions and 1 deletions
|
|
@ -1080,7 +1080,7 @@ manager_hidden_ap_found (NMDeviceInterface *device,
|
|||
struct ether_addr seen_addr;
|
||||
|
||||
if (ether_aton_r (seen_bssid, &seen_addr)) {
|
||||
if (memcmp (ap_addr, &seen_addr, sizeof (struct ether_addr))) {
|
||||
if (memcmp (ap_addr, &seen_addr, sizeof (struct ether_addr)) == 0) {
|
||||
/* Copy the SSID from the connection to the AP */
|
||||
nm_ap_set_ssid (ap, ssid);
|
||||
done = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue