]> git.baikalelectronics.ru Git - kernel.git/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)
commit91fbdfb29f125a234cfe980de65e4a74929e75a4
tree76b9abb66bcaf870a3ec4ee71e00f20d668e712b
parent4c9c5dd8a5cc56ac5a3b843caf3338da96280a55
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