summaryrefslogtreecommitdiff
path: root/net/dccp
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-02-27 13:39:00 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:42:07 -0500
commite4861829072c61883114c64a3af61f305a789ff0 (patch)
tree54dbd81bae2f1d21576b2a88badf113567d0efc0 /net/dccp
parentdb4d1169d0b893bfb7923b6526748fe2c5a7373f (diff)
mac80211: fix key replacing, hw accel
Even though I thought about it a lot and had also tested it, some of my recent changes in the key code broke replacing keys, making the kernel oops because a key is removed from a list while not on it. This patch fixes that using the list as an indication whether or not the key is on it (an empty list means it's not on any list.) Also, this patch fixes hw accel enabling, the check for not doing hw accel when the interface is down was lost and is restored by this. Additionally, move adding the key to the list into the function __ieee80211_key_replace() for more consistency. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions