cfg80211: fix dev <-> wiphy typo
authorChristian Lamparter <chunkeey@googlemail.com>
Wed, 28 Jul 2010 23:28:46 +0000 (01:28 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jul 2010 16:55:00 +0000 (12:55 -0400)
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h

index ae80f8f..2fd06c6 100644 (file)
@@ -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...)                              \
 ({                                                                     \