diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2017-03-21 15:45:45 +0100 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2017-03-21 17:12:30 +0100 |
commit | 3572ad59543e0d20467b46c976d2dee82446282b (patch) | |
tree | c92df372b53a6648705435e6a0f8f94e4bfaf8ca | |
parent | d389aaa2a9a4c69df58d939f3620cec1ab50c19c (diff) | |
download | NetworkManager-bg/wext-refresh-ifname-bgo779788.tar.gz |
fixup! wifi-utils: don't cache interface namebg/wext-refresh-ifname-bgo779788
-rw-r--r-- | src/platform/wifi/wifi-utils-nl80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/wifi/wifi-utils-nl80211.c b/src/platform/wifi/wifi-utils-nl80211.c index f8dee87eea..0356f59c3e 100644 --- a/src/platform/wifi/wifi-utils-nl80211.c +++ b/src/platform/wifi/wifi-utils-nl80211.c @@ -1053,7 +1053,7 @@ wifi_nl80211_init (int ifindex) if (!nmp_utils_if_indextoname (ifindex, ifname)) { _LOGW (LOGD_PLATFORM | LOGD_WIFI, "can't determine interface name for ifindex %d", ifindex); - return NULL; + nm_sprintf_buf (ifname, "if %d", ifindex); } nl80211 = wifi_data_new (ifindex, sizeof (*nl80211)); |