summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/018-revert_printk_va_format.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-08 19:31:43 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-08 19:31:43 +0000
commit88bf9173656f4f76b5c7e22c88f6eedb7d87f706 (patch)
tree62dc8293bafaf24baa6451bd6c4dd796c737630e /package/mac80211/patches/018-revert_printk_va_format.patch
parent1ae49a4eef49e6e0939b60b48268ca8f798184b2 (diff)
mac80211: update to wireless-testing 2010-02-07
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25425 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/018-revert_printk_va_format.patch')
-rw-r--r--package/mac80211/patches/018-revert_printk_va_format.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/mac80211/patches/018-revert_printk_va_format.patch b/package/mac80211/patches/018-revert_printk_va_format.patch
index 5ac97be0a..2cbc0f95e 100644
--- a/package/mac80211/patches/018-revert_printk_va_format.patch
+++ b/package/mac80211/patches/018-revert_printk_va_format.patch
@@ -186,24 +186,3 @@
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);
-