Re: "MSG_ERROR" call to in wpa_printf() in function hostapd_interface_init() in hostapd/main.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tor 2020-01-02 klockan 15:54 +0200 skrev Jouni Malinen:
> On Thu, Jan 02, 2020 at 12:01:43PM +0100, Per-Erik Westerberg wrote:
> > Is it really correct that the "level" in the call to wpa_printf()
> > in
> > the third code-line in hostap/main.c in function
> > hostapd_interface_init() shall be "MSG_ERROR"? Maybe it should be
> > changed to "MSG_INFO" instead?
> 
> This is from initial conversion from printf() to wpa_printf() eleven
> years ago.. I'm not sure how it ended up getting MSG_ERROR since it
> is
> certainly not an error condition. I'll drop it to MSG_DEBUG.
> 

There is perhaps something similar in "src/ap/hostapd.c" line 1201
where it prints "Using interface ...", maybe this shouldn't be an
MSG_ERROR either?

  Regards / Per-Erik





_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux