]> err.no Git - linux-2.6/commit
mac80211: defer master netdev allocation to ieee80211_register_hw
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 8 Feb 2008 08:48:13 +0000 (09:48 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:37:06 +0000 (15:37 -0500)
commit96d510566e4908f77f03ff1436c78ae7162a17d0
tree76b9abb66bcaf870a3ec4ee71e00f20d668e712b
parent4688be308f35f1e0099140a179d95c5e63b2319d
mac80211: defer master netdev allocation to ieee80211_register_hw

When we want to go multiqueue, we will need to know the number of
queues the hardware has for registering the master netdev. This
number is only available in ieee80211_register_hw() rather than
ieee80211_alloc_hw(), so defer allocation of the master device to
ieee80211_register_hw().

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211.c