Skip to content
Snippets Groups Projects
user avatar
Johannes Berg authored
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: default avatarMaxime Bizon <mbizon@freebox.fr>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
aa5f66d5
Name Last commit Last update