diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-02-08 19:31:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-02-08 19:31:43 +0000 |
commit | d807f70e4781773557c4aa8ed9ee5062b41568fb (patch) | |
tree | 666597b535b8df74f5bdf7d260cac21389bbce9b /package/mac80211/patches/018-revert_printk_va_format.patch | |
parent | b32ae97fd6a8d14dcac4801ab1dcf0d9533a0f6e (diff) | |
download | mtk-20170518-d807f70e4781773557c4aa8ed9ee5062b41568fb.zip mtk-20170518-d807f70e4781773557c4aa8ed9ee5062b41568fb.tar.gz mtk-20170518-d807f70e4781773557c4aa8ed9ee5062b41568fb.tar.bz2 |
mac80211: update to wireless-testing 2010-02-07
SVN-Revision: 25425
Diffstat (limited to 'package/mac80211/patches/018-revert_printk_va_format.patch')
-rw-r--r-- | package/mac80211/patches/018-revert_printk_va_format.patch | 21 |
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 5ac97be..2cbc0f9 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); - |