Johannes Berg aa5f66d5a1 cfg80211: fix sysfs registration race
My locking rework/race fixes caused a regression in the
registration, causing uevent notifications for wireless
devices before the device is really fully registered and
available in nl80211.

Fix this by moving the device_add() under rtnl and move
the rfkill to afterwards (it can't be under rtnl.)

Reported-and-tested-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-09-26 20:03:45 +02:00
..
2013-09-11 16:10:00 -04:00
2013-09-03 22:34:47 -04:00
2013-08-14 01:13:40 +02:00
2013-08-11 22:02:36 -07:00
2013-09-13 15:09:52 +02:00