network: do not fail to configure non-nl80211 wifi interfaces
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 17 Jun 2020 04:54:56 +0000 (13:54 +0900)
committerLennart Poettering <lennart@poettering.net>
Thu, 18 Jun 2020 13:50:56 +0000 (15:50 +0200)
commitcc17c4c9a16e4409a566840a68c530165375a221
treeed693fb1c5cfc119bb9e8b2f8bcf7af9374bda5c
parent845d784e544303ad486e7f18006559abad46716f
network: do not fail to configure non-nl80211 wifi interfaces

Also, make wifi_get_interface() and wifi_get_station() initialize
destination buffer when they return a non-negatinve value.

Closes #16160.
src/shared/wifi-util.c