Date: Sat, 13 Jun 2020 05:56:38 +0200 From: Tomasz CEDRO <tomek@cedro.info> To: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org> Subject: iwm0: could not initiate scan Message-ID: <CAM8r67AeHfLhGoXr=ahtn=P6FazWM5EjO2LTKrgC2v78By11Hg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello world :-) I have wpa_supplicant() enabled by default on my laptop. But also I have radio disable switch. I want to use WiFi only when the radio switch is set to on, otherwise I want radio to remain silent. That works fine, except when radio is turned off the iwm driver trashes my dmesg with following: +iwm0: could not initiate scan After some time I only get those messages in my dmesg log, what I consider unwanted and unnecessary massage flood. How can I get rid of those messages when iwm driver radio is off? Shouldn't iwm or wpa_supplicant check in the first place whether radio is enabled? Should I diable wpa_supplicant by default and then start it by hand when needed? Is there any other simple and elegant way like the radio switch button? I also imagine that this situation may have negative impact on power usage on the laptop? Any hints appreciated :-) Tomek ps/2: How can I enable timestamp before each dmesg line so I know when the message was generated? This may be beneficial and I think this could be enabled by default..? :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM8r67AeHfLhGoXr=ahtn=P6FazWM5EjO2LTKrgC2v78By11Hg>