mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
ath9k: add missing %pV printk revert
SVN-Revision: 24480
This commit is contained in:
parent
e006253f11
commit
d1c110e228
@ -186,3 +186,24 @@
|
|||||||
va_end(args);
|
va_end(args);
|
||||||
}
|
}
|
||||||
#endif /* DEBUG */
|
#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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user