On Wed, Dec 23, 2009 at 12:37:27AM +0100, Gábor Stefanik wrote: > On Wed, Dec 23, 2009 at 12:13 AM, John W. Linville > > @@ -661,12 +656,14 @@ static int rtl8180_add_interface(struct ieee80211_hw *dev, > > { > > struct rtl8180_priv *priv = dev->priv; > > > > - if (priv->mode != NL80211_IFTYPE_MONITOR) > > - return -EOPNOTSUPP; > > + /* > > + * We only support one active interface at a time. > > + */ > > + if (priv->vif != NULL) > > if (priv->vif) > This should be enough. Sure, probably so. FWIW, I think I copied that from some other driver. John -- John W. Linville Someday the world will need a hero, and you linville@xxxxxxxxxxxxx might be all we have. Be ready. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html