From: Luis R. Rodriguez Date: Fri, 14 Nov 2008 22:44:22 +0000 (-0800) Subject: mac80211: don't assume driver has been attached on registration X-Git-Tag: v2.6.29-rc1~581^2~383^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ada424db196c78746fec255d493cacb1c9feddf;p=pandora-kernel.git mac80211: don't assume driver has been attached on registration mac80211's ieee80211_register_hw() is often called within the probe path so it cannot assume the device's driver structure has been attached yet so to create a workqueue instead of using driver->name use the wiphy's phy%d name. The name doesn't really matter anyway. This should fix sporadic oopses found when we race to beat the driver pointer setting. Not even sure how this was working properly. http://www.kerneloops.org/search.php?search=ieee80211_register_hw Signed-off-by: Luis R. Rodriguez Acked-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed