diff options
-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)); |