On Wed, Jan 06, 2010 at 11:31:10PM +0100, Sedat Dilek wrote: > Why are there two different ".ndo_set_mac_address" in [1]? > > static const struct net_device_ops ieee80211_dataif_ops = { > ... > .ndo_set_mac_address = ieee80211_change_mac, > + .ndo_select_queue = ieee80211_netdev_select_queue, > }; > > static const struct net_device_ops ieee80211_monitorif_ops = { > ... > .ndo_set_mac_address = eth_mac_addr, > + .ndo_select_queue = ieee80211_monitor_select_queue, > }; Because a different queue selection algorithm is needed for monitor (ieee80211_monitor_select_queue) and non-monitor (ieee80211_netdev_select_queue) interfaces. The commit message mentions this. -- 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