diff options
author | Joe Perches <joe@perches.com> | 2010-07-26 17:39:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-27 15:14:13 -0400 |
commit | c96c31e499b70964cfc88744046c998bb710e4b8 (patch) | |
tree | 0157102fbc952e3646690f3491199607669eed69 /drivers/net/wireless/orinoco | |
parent | e1db74fcc3d95c8a051ec457241b5aa65a01a603 (diff) |
drivers/net/wireless: Use wiphy_<level>
Standardize the logging macros used.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco')
-rw-r--r-- | drivers/net/wireless/orinoco/cfg.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/orinoco/cfg.c b/drivers/net/wireless/orinoco/cfg.c index 8c4169c227ae..09fae2f0ea08 100644 --- a/drivers/net/wireless/orinoco/cfg.c +++ b/drivers/net/wireless/orinoco/cfg.c | |||
@@ -117,9 +117,8 @@ static int orinoco_change_vif(struct wiphy *wiphy, struct net_device *dev, | |||
117 | 117 | ||
118 | case NL80211_IFTYPE_MONITOR: | 118 | case NL80211_IFTYPE_MONITOR: |
119 | if (priv->broken_monitor && !force_monitor) { | 119 | if (priv->broken_monitor && !force_monitor) { |
120 | printk(KERN_WARNING "%s: Monitor mode support is " | 120 | wiphy_warn(wiphy, |
121 | "buggy in this firmware, not enabling\n", | 121 | "Monitor mode support is buggy in this firmware, not enabling\n"); |
122 | wiphy_name(wiphy)); | ||
123 | err = -EINVAL; | 122 | err = -EINVAL; |
124 | } | 123 | } |
125 | break; | 124 | break; |