From: proski Date: Thu, 17 Jul 2008 02:48:19 +0000 (+0000) Subject: Add printk priorities to ah_os.c X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=e74121f314ffd051adb3d81f92db98837593e39d;p=madwifi%2F.git Add printk priorities to ah_os.c Reference: madwifi-dfs@3264 git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3780 0192ed92-7a03-0410-a25b-9323aeb14dbd --- diff --git a/ath_hal/ah_os.c b/ath_hal/ah_os.c index 09ff9cd..0cc1599 100644 --- a/ath_hal/ah_os.c +++ b/ath_hal/ah_os.c @@ -166,13 +166,13 @@ ath_hal_setlogging(int enable) error = alq_open(&ath_hal_alq, ath_hal_logfile, MSG_MAXLEN, ath_hal_alq_qsize, (enable == 1 ? 0x7fffffff : enable)); ath_hal_alq_lost = 0; - printk("ath_hal: logging to %s %s\n", ath_hal_logfile, + printk(KERN_INFO "ath_hal: logging to %s %s\n", ath_hal_logfile, error == 0 ? "enabled" : "could not be setup"); } else { if (ath_hal_alq) alq_close(ath_hal_alq); ath_hal_alq = NULL; - printk("ath_hal: logging disabled\n"); + printk(KERN_INFO "ath_hal: logging disabled\n"); error = 0; } return error;