Skip to contentSkip to conversation

cfg80211: fix dev <-> wiphy typo

PATCH In review Christian Lamparter 2 participants 2 messages Jul 28, 2010 – Jul 29, 2010 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cfg80211: fix dev <-> wiphy typo

---

include/net/cfg80211.h +1 -1
index ae80f8f..2fd06c6 100644
@@ -2451,7 +2451,7 @@ int wiphy_debug(const struct wiphy *wiphy, const char *format, ...)
 	wiphy_printk(KERN_DEBUG, wiphy, format, ##args)
 #elif defined(CONFIG_DYNAMIC_DEBUG)
 #define wiphy_dbg(wiphy, format, args...)			\
-	dynamic_pr_debug("%s: " format,	wiphy_name(dev), ##args)
+	dynamic_pr_debug("%s: " format,	wiphy_name(wiphy), ##args)
 #else
 #define wiphy_dbg(wiphy, format, args...)				\
 ({									\
#1 lore raw

include/net/cfg80211.h int wiphy_debug(const struct wiphy *wiphy, const char *format, ...) · line 2454

Quoted 4 lines · Christian Lamparter
include/net/cfg80211.h +1 -1
index ae80f8f..2fd06c6 100644
-	dynamic_pr_debug("%s: " format,	wiphy_name(dev), ##args)
+	dynamic_pr_debug("%s: " format,	wiphy_name(wiphy), ##args)

Thanks for noticing that Christian.