ath9k: add missing %pV printk revert

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24480 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2010-12-11 10:37:42 +00:00
parent 7ffb9a20d6
commit 2a394fb653
1 changed files with 21 additions and 0 deletions

View File

@ -186,3 +186,24 @@
va_end(args);
}
#endif /* DEBUG */
--- a/drivers/net/wireless/ath/main.c
+++ b/drivers/net/wireless/ath/main.c
@@ -60,16 +60,13 @@ EXPORT_SYMBOL(ath_rxbuf_alloc);
int ath_printk(const char *level, struct ath_common *common,
const char *fmt, ...)
{
- struct va_format vaf;
va_list args;
int rtn;
va_start(args, fmt);
- vaf.fmt = fmt;
- vaf.va = &args;
-
- rtn = printk("%sath: %pV", level, &vaf);
+ printk("%sath: ", level);
+ rtn = vprintk(fmt, args);
va_end(args);