diff options
Diffstat (limited to 'drivers/net/wireless/ath5k/pcu.c')
-rw-r--r-- | drivers/net/wireless/ath5k/pcu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath5k/pcu.c b/drivers/net/wireless/ath5k/pcu.c index 5b416ed65299..e758b70ab7eb 100644 --- a/drivers/net/wireless/ath5k/pcu.c +++ b/drivers/net/wireless/ath5k/pcu.c | |||
@@ -1026,6 +1026,9 @@ int ath5k_keycache_type(const struct ieee80211_key_conf *key) | |||
1026 | return AR5K_KEYTABLE_TYPE_40; | 1026 | return AR5K_KEYTABLE_TYPE_40; |
1027 | else if (key->keylen == LEN_WEP104) | 1027 | else if (key->keylen == LEN_WEP104) |
1028 | return AR5K_KEYTABLE_TYPE_104; | 1028 | return AR5K_KEYTABLE_TYPE_104; |
1029 | return -EINVAL; | ||
1030 | default: | ||
1031 | return -EINVAL; | ||
1029 | } | 1032 | } |
1030 | return -EINVAL; | 1033 | return -EINVAL; |
1031 | } | 1034 | } |