mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-30 05:15:33 +00:00
nmcli/dev: include device name in "nmcli d wifi list"
In case there's multiple Wi-Fi adapters, we print them all without any indication about which APs come from which adapter. That's not too great.
This commit is contained in:
parent
f55b918700
commit
796fc24b1f
|
@ -746,8 +746,9 @@ const NmcMetaGenericInfo *const nmc_fields_dev_wifi_list[] = {
|
|||
NMC_META_GENERIC("DBUS-PATH"), /* 17 */
|
||||
NULL,
|
||||
};
|
||||
#define NMC_FIELDS_DEV_WIFI_LIST_COMMON "IN-USE,BSSID,SSID,MODE,CHAN,RATE,SIGNAL,BARS,SECURITY"
|
||||
#define NMC_FIELDS_DEV_WIFI_LIST_FOR_DEV_LIST "NAME," NMC_FIELDS_DEV_WIFI_LIST_COMMON
|
||||
#define NMC_FIELDS_DEV_WIFI_LIST "IN-USE,BSSID,SSID,MODE,CHAN,RATE,SIGNAL,BARS,SECURITY"
|
||||
#define NMC_FIELDS_DEV_WIFI_LIST_COMMON NMC_FIELDS_DEV_WIFI_LIST ",DEVICE"
|
||||
#define NMC_FIELDS_DEV_WIFI_LIST_FOR_DEV_LIST "NAME," NMC_FIELDS_DEV_WIFI_LIST
|
||||
|
||||
const NmcMetaGenericInfo *const nmc_fields_dev_wimax_list[] = {
|
||||
NMC_META_GENERIC("NAME"), /* 0 */
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue