On Fri, 2009-01-23 at 14:57 -0800, Andrey Yurovsky wrote: > That's indeed strange: the iwl3945 (along with the other Intel cards) > definitely doesn't support mesh but I was able to add an interface as > well on my Ubuntu box (2.6.27-9). I think the reason is that iwlwifi > doesn't explicitly test for interfaces it actually supports: > > static int iwl3945_mac_add_interface(struct ieee80211_hw *hw, > struct ieee80211_if_init_conf *conf) > { > struct iwl_priv *priv = hw->priv; > unsigned long flags; > > IWL_DEBUG_MAC80211("enter: type %d\n", conf->type); > > if (priv->vif) { > IWL_DEBUG_MAC80211("leave - vif != NULL\n"); > return -EOPNOTSUPP; > } Yes, that was a long-standing bug in those drivers that was really only fixed when we introduced the cfg80211 supported interfaces thing. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part