diff options
| author | Maxime Bizon <[email protected]> | 2010-07-21 17:21:38 +0200 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2010-07-21 15:13:42 -0400 |
| commit | 5a652052fedbd7869572c757dd2ffc2ed420c69d (patch) | |
| tree | c147fefc826f74e84a887a069235c22eadc0f561 /tools/perf/scripts/python | |
| parent | acd82aa868c2133149370c18d85f8005fbf5611e (diff) | |
cfg80211: fix race between sysfs and cfg80211
device_add() is called before adding the phy to the cfg80211 device
list.
So if a userspace program uses sysfs uevents to detect new phy
devices, and queries nl80211 to get phy info, it can get ENODEV even
though the phy exists in sysfs.
An easy workaround is to hold the cfg80211 mutex until the phy is
present in sysfs/cfg80211/debugfs.
Signed-off-by: Maxime Bizon <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions