]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/wireless/orinoco/cfg.c
drivers/net/wireless: Use wiphy_<level>
[net-next-2.6.git] / drivers / net / wireless / orinoco / cfg.c
index 8c4169c227ae8786bdf9429012594b6521cbdbb4..09fae2f0ea08010309618f93ab0ebdb5f64be84e 100644 (file)
@@ -117,9 +117,8 @@ static int orinoco_change_vif(struct wiphy *wiphy, struct net_device *dev,
 
        case NL80211_IFTYPE_MONITOR:
                if (priv->broken_monitor && !force_monitor) {
-                       printk(KERN_WARNING "%s: Monitor mode support is "
-                              "buggy in this firmware, not enabling\n",
-                              wiphy_name(wiphy));
+                       wiphy_warn(wiphy,
+                                  "Monitor mode support is buggy in this firmware, not enabling\n");
                        err = -EINVAL;
                }
                break;