wifi-util: do not ignore wifi iftype when SSID is not set
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 11 Jan 2021 14:36:42 +0000 (23:36 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 11 Jan 2021 16:12:37 +0000 (01:12 +0900)
commita66a402da471f6230ab8674fd2c1df6d918773b5
tree2513e79e0724a17ce3a90184f53567d496c1b9d5
parenta5330078158cbd5070e42fd3f91ecb570e210359
wifi-util: do not ignore wifi iftype when SSID is not set

Previously, if an interface does not have SSID, e.g. run in mesh-point
type, then the wifi iftype obtained by the netlink call was ignored.

Fixes #18059.
src/shared/wifi-util.c