diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-04-27 13:47:01 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-05-03 21:44:56 +0400 |
commit | 4ef69d0394cba8caa9f75d3f2e53429bfb8b3045 (patch) | |
tree | 89ef58c65e22609f631771501e66070b6220de5a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a8a48e60a468084ef6ec23c78e8903c9e0ba7a4c (diff) | |
download | linux-4ef69d0394cba8caa9f75d3f2e53429bfb8b3045.tar.xz |
ath9k: fix key allocation error handling for powersave keys
If no keycache slots are available, ath_key_config can return -ENOSPC.
If the key index is not checked for errors, it can lead to logspam that
looks like this: "ath: wiphy0: keyreset: keycache entry 228 out of range"
This can cause follow-up errors if the invalid keycache index gets
used for tx.
Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions