commit | 4f6fab472c4c7c21d577f85fabec7628d4a05637 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Mon Mar 31 19:23:02 2008 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Apr 01 17:14:10 2008 -0400 |
tree | 0949dffadb0b715053e4d7148ebcabe930b39361 | |
parent | 93e5deb1ae39b56f4743955e76c72251256f23c1 [diff] |
mac80211: clean up sta_info_destroy() users wrt. RCU/locking Calling sta_info_destroy() doesn't require RCU-synchronisation before-hand because it does that internally. However, it does require rtnl-locking so insert that where necessary. Also clean up the code doing it internally to be a bit clearer and not synchronize twice if keys are configured. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>