mirror of https://github.com/proski/madwifi
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,
|
error = alq_open(&ath_hal_alq, ath_hal_logfile,
|
||||||
MSG_MAXLEN, ath_hal_alq_qsize, (enable == 1 ? 0x7fffffff : enable));
|
MSG_MAXLEN, ath_hal_alq_qsize, (enable == 1 ? 0x7fffffff : enable));
|
||||||
ath_hal_alq_lost = 0;
|
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");
|
error == 0 ? "enabled" : "could not be setup");
|
||||||
} else {
|
} else {
|
||||||
if (ath_hal_alq)
|
if (ath_hal_alq)
|
||||||
alq_close(ath_hal_alq);
|
alq_close(ath_hal_alq);
|
||||||
ath_hal_alq = NULL;
|
ath_hal_alq = NULL;
|
||||||
printk("ath_hal: logging disabled\n");
|
printk(KERN_INFO "ath_hal: logging disabled\n");
|
||||||
error = 0;
|
error = 0;
|
||||||
}
|
}
|
||||||
return error;
|
return error;
|
||||||
|
|
Loading…
Reference in New Issue