mac80211: fix some key comments and code
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 Jan 2011 18:51:09 +0000 (19:51 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Jan 2011 19:46:14 +0000 (14:46 -0500)
commitb5c34f662a3519d34f9634a14d8de638fdbe0ca3
tree0de22e8f97feedf9ad2b729802b338237ae5d6f3
parentcc72128750700d01c31f583a355c5f8f809498bb
mac80211: fix some key comments and code

The key documentation is slightly out of date, fix
that. Also, the list entry in the key struct is no
longer used that way, so list_del_init() isn't
necessary any more there.

Finally, ieee80211_key_link() is no longer invoked
under RCU read lock, but rather with an appropriate
station lock held.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/key.c