On Fri, 2009-10-23 at 18:48 +0200, Johannes Berg wrote: > On Fri, 2009-10-23 at 09:42 -0700, Dan Williams wrote: > > > Yeah, I think it's best to handle the mesh WEXT ioctls separately for > > now. There are really only 4 of them (get/set SSID, set channel, get > > mode) that matter for mesh. The rest of the ioctls that the mesh > > interface supports get redirected to the cfg80211 handlers because they > > aren't specific to mesh. > > So why can't we simply do > > set_ssid() > { > if (mesh) > return mesh_set_ssid(); > else > return cfg80211_wext_iwessid() > } The mesh interface is a completely separate netdev, with its own WEXT handler struct. So we'd never be in that situation. Dan -- 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