Description of problem:
When running one of:
nmcli device wifi list ifname wlan0
nmcli device wifi connect <SSID> ifname wlan0
nmcli wrongly adds the device name to the output. This can break scripts that parse the output of the above commands.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
# nmcli device wifi list ifname wlan0
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
* aoeu Infra 1 130 Mbit/s 90 ▂▄▆█ WPA2
# nmcli device wifi connect ssid ifname wlan0
Device 'wlan0' successfully activated with '77d008bf-6a7b-40bf-a30c-cec6f0d16a36'.
The 'wlan0' line shouldn't be there.
Fixed upstream by https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=d2b4332b36686dd5d7382d996743f0ffa1a0fdda
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.