aboutsummaryrefslogtreecommitdiff
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-09-26 20:03:45 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-09-26 20:03:45 +0200
commitaa5f66d5a1df1c2b04bccdcb19711675c765d7c4 (patch)
treee1de25f7c9a1a5f4f7335f7bdf98e54e2263949f /net/mac80211/cfg.c
parentcc63ec766b7821c8dc4dc1d1e980124aea96b553 (diff)
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>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions