Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134110
b: refs/heads/master
c: ca470b2
h: refs/heads/master
v: v3
  • Loading branch information
Jouni Malinen authored and John W. Linville committed Jan 29, 2009
1 parent ae34cbf commit 3c83ded
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4375d08350e3661d5e8860d33eea084e47ba01cf
refs/heads/master: ca470b29027f093d8d63abc0fa401cf4f72e427b
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ static int ath_key_config(struct ath_softc *sc,
hk.kv_type = ATH9K_CIPHER_AES_CCM;
break;
default:
return -EINVAL;
return -EOPNOTSUPP;
}

hk.kv_len = key->keylen;
Expand Down Expand Up @@ -851,7 +851,7 @@ static int ath_key_config(struct ath_softc *sc,
else
idx = ath_reserve_key_cache_slot(sc);
if (idx < 0)
return -EIO; /* no free key cache entries */
return -ENOSPC; /* no free key cache entries */
}

if (key->alg == ALG_TKIP)
Expand Down

0 comments on commit 3c83ded

Please sign in to comment.