mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
networkctl: fix to show BSSID
This fixes an issue caused by a typo in
78404d22cc
.
This commit is contained in:
parent
2fec5854ba
commit
33ebda2e81
@ -404,7 +404,7 @@ static void acquire_wlan_link_info(LinkInfo *link) {
|
||||
if (r < 0)
|
||||
log_debug_errno(r, "%s: failed to query ssid: %m", link->name);
|
||||
|
||||
if (link->iftype == NL80211_IFTYPE_STATION) {
|
||||
if (link->wlan_iftype == NL80211_IFTYPE_STATION) {
|
||||
k = wifi_get_station(genl, link->ifindex, &link->bssid);
|
||||
if (k < 0)
|
||||
log_debug_errno(k, "%s: failed to query bssid: %m", link->name);
|
||||
|
Loading…
Reference in New Issue
Block a user