diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-12-11 01:45:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-12-11 01:45:12 +0000 |
commit | 9337c975843175aaa51bd285080cb062eb1a3f45 (patch) | |
tree | ab019da788ef24bf9cc19e4c280a0a3e5e4157e2 /package/mac80211/patches/018-revert_printk_va_format.patch | |
parent | 700589cd9b09c96be39ae9a39bb64ae93a5ece4b (diff) | |
download | upstream-9337c975843175aaa51bd285080cb062eb1a3f45.tar.gz upstream-9337c975843175aaa51bd285080cb062eb1a3f45.tar.bz2 upstream-9337c975843175aaa51bd285080cb062eb1a3f45.zip |
mac80211: update to 2010-12-09
SVN-Revision: 24471
Diffstat (limited to 'package/mac80211/patches/018-revert_printk_va_format.patch')
-rw-r--r-- | package/mac80211/patches/018-revert_printk_va_format.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/package/mac80211/patches/018-revert_printk_va_format.patch b/package/mac80211/patches/018-revert_printk_va_format.patch index d50022e5c1..2cbc0f95e9 100644 --- a/package/mac80211/patches/018-revert_printk_va_format.patch +++ b/package/mac80211/patches/018-revert_printk_va_format.patch @@ -1,27 +1,3 @@ ---- a/drivers/net/wireless/ath/debug.c -+++ b/drivers/net/wireless/ath/debug.c -@@ -19,19 +19,14 @@ - - void ath_print(struct ath_common *common, int dbg_mask, const char *fmt, ...) - { -- struct va_format vaf; - va_list args; - - if (likely(!(common->debug_mask & dbg_mask))) - return; - - va_start(args, fmt); -- -- vaf.fmt = fmt; -- vaf.va = &args; -- -- printk(KERN_DEBUG "ath: %pV", &vaf); -- -+ printk(KERN_DEBUG "ath: "); -+ vprintk(fmt, args); - va_end(args); - } - EXPORT_SYMBOL(ath_print); --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c @@ -322,83 +322,59 @@ static int b43_ratelimit(struct b43_wl * |