diff options
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index ec8516eadc4f..cb4a8712946a 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -3637,7 +3637,7 @@ static int b43_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, | |||
3637 | err = -EINVAL; | 3637 | err = -EINVAL; |
3638 | switch (key->alg) { | 3638 | switch (key->alg) { |
3639 | case ALG_WEP: | 3639 | case ALG_WEP: |
3640 | if (key->keylen == LEN_WEP40) | 3640 | if (key->keylen == WLAN_KEY_LEN_WEP40) |
3641 | algorithm = B43_SEC_ALGO_WEP40; | 3641 | algorithm = B43_SEC_ALGO_WEP40; |
3642 | else | 3642 | else |
3643 | algorithm = B43_SEC_ALGO_WEP104; | 3643 | algorithm = B43_SEC_ALGO_WEP104; |