base-files: Fix IPv6 address and route adding on aliases with no IPv4 address configured
[openwrt/openwrt.git] / package / mac80211 / patches / 018-revert_printk_va_format.patch
index d50022e5c1625347abdc9c5a1d331fe6da007ca2..6aff41ae09518ab0424d944b2f80506a045bcb11 100644 (file)
@@ -1,30 +1,6 @@
---- 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 *
+@@ -337,83 +337,59 @@ static int b43_ratelimit(struct b43_wl *
  
  void b43info(struct b43_wl *wl, const char *fmt, ...)
  {
  
 --- a/drivers/net/wireless/b43legacy/main.c
 +++ b/drivers/net/wireless/b43legacy/main.c
-@@ -181,75 +181,52 @@ static int b43legacy_ratelimit(struct b4
+@@ -179,75 +179,52 @@ static int b43legacy_ratelimit(struct b4
  
  void b43legacyinfo(struct b43legacy_wl *wl, const char *fmt, ...)
  {