commit | ca470b29027f093d8d63abc0fa401cf4f72e427b | [log] [tgz] |
---|---|---|
author | Jouni Malinen <j@w1.fi> | Thu Jan 08 13:32:12 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Jan 29 16:00:09 2009 -0500 |
tree | 58a416c9c90b26ee0fdee23d8a500f31db94d12f | |
parent | 4375d08350e3661d5e8860d33eea084e47ba01cf [diff] |
ath9k: Fix set_key error codes Return -EOPNOTSUPP if the algorithm is not supported and -ENOSPC if there is no room in the key cache. This avoids KERN_ERR printk in mac80211 for "errors" that are actually expected to happen in normal operating conditions. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>