mirror of
https://github.com/proski/madwifi
synced 2024-11-21 22:11:32 +03:00
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
This commit is contained in:
parent
03fc511969
commit
e74121f314
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user