mac80211: fix debugfs lockup
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 7 Oct 2008 10:04:29 +0000 (12:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Oct 2008 00:46:41 +0000 (20:46 -0400)
commit63044e9f54b6bac50d2380bf4d14f63e9e7de72b
tree9ceddf721c869fb9450429fd4932d8c40b765486
parent45527c2c4f698f8927239cfdec9f515cafed5f10
mac80211: fix debugfs lockup

When debugfs_create_dir fails, sta_info_debugfs_add_work will not
terminate because it will find the same station again and again.
This is possible whenever debugfs fails for whatever reason; one
reason is a race condition in mac80211, unfortunately we cannot
do much about it, so just document it, it just means some station
may be missing from debugfs.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Robin Holt <holt@sgi.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/debugfs_sta.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h