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-26 20:03:45 +02:00
2013-05-25 00:02:15 +02:00
2012-11-16 14:29:09 -05:00
2012-10-18 10:53:37 +02:00
2013-08-12 14:11:37 +02:00
2012-10-18 10:53:37 +02:00
2013-08-12 14:11:37 +02:00