Luis R. Rodriguez 4ada424db1 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 <lrodriguez@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-11-25 16:41:40 -05:00
..
2008-11-10 15:17:40 -05:00
2007-05-05 11:46:38 -07:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2008-11-25 16:41:26 -05:00
2008-10-31 19:00:37 -04:00
2008-10-31 19:02:14 -04:00
2008-09-11 15:53:39 -04:00
2008-10-31 18:05:59 -04:00
2008-11-10 15:10:17 -05:00
2008-10-31 19:00:37 -04:00
2008-10-31 18:05:59 -04:00
2008-10-31 18:05:59 -04:00
2008-11-10 15:11:56 -05:00
2008-10-31 19:02:14 -04:00
2008-09-15 16:48:22 -04:00
2008-10-31 18:05:59 -04:00
2008-03-06 15:30:46 -05:00