Re: [patch] make ifconfig report 'SIOCSIFMEDIA' when ioctl fails

2017-10-27 Thread Martin Pieuchot
On 26/10/17(Thu) 23:41, Jesper Wallin wrote: > Hi all, > > First off, as always, I apologize if I'm wasting anyone's time because > I'm missing something obvious here. > > So, I accidentally ran "ifconfig iwm0 mode 11g" as a regular user and > noticed it didn't throw an error. A quick look at

[patch] make ifconfig report 'SIOCSIFMEDIA' when ioctl fails

2017-10-26 Thread Jesper Wallin
Hi all, First off, as always, I apologize if I'm wasting anyone's time because I'm missing something obvious here. So, I accidentally ran "ifconfig iwm0 mode 11g" as a regular user and noticed it didn't throw an error. A quick look at the code and it seems like the error was left out