drivers: wifi: Convert to use new logging

Convert the wifi drivers to use the new logging system.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2018-10-05 14:52:38 +03:00 committed by Anas Nashif
commit 69eeddd8a9
6 changed files with 188 additions and 201 deletions

View file

@ -11,19 +11,11 @@ menuconfig WIFI
if WIFI
config SYS_LOG_WIFI_LEVEL
int "WiFi driver log level"
depends on SYS_LOG
default 0
range 0 4
help
Sets log level for WiFi Device Drivers.
Levels are:
0 OFF, do not write
1 ERROR, only write SYS_LOG_ERR
2 WARNING, write SYS_LOG_WRN in addition to previous level
3 INFO, write SYS_LOG_INF in addition to previous levels
4 DEBUG, write SYS_LOG_DBG in addition to previous levels
module = WIFI
module-dep = LOG
module-str = Log level for WiFi driver
module-help = Sets log level for WiFi Device Drivers.
source "subsys/net/Kconfig.template.log_config.net"
config WIFI_INIT_PRIORITY
int "WiFi driver init priority"