1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-08 21:17:47 +03:00

network: wifi: ssid may be NULL

This fixes the following log message:
systemd-networkd[888]: wlan0: nl80211: received new_interface(7) message: iftype=station, ssid=(null)
This commit is contained in:
Yu Watanabe 2021-12-09 02:43:21 +09:00
parent c65a0cf62f
commit da94e4ddf5

View File

@ -130,7 +130,7 @@ int manager_genl_process_nl80211_config(sd_netlink *genl, sd_netlink_message *me
log_link_debug(link, "nl80211: received %s(%u) message: iftype=%s, ssid=%s",
strna(nl80211_cmd_to_string(cmd)), cmd,
strna(nl80211_iftype_to_string(wlan_iftype)), ssid);
strna(nl80211_iftype_to_string(wlan_iftype)), strna(ssid));
switch(cmd) {
case NL80211_CMD_SET_INTERFACE: