diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-01-05 11:06:06 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:17 -0500 |
commit | e724b8fef6088e5dd240b53a38443e48fbcc8e93 (patch) | |
tree | aa89a38be575208797be63adf59d5a1ee34e8dc7 /drivers/net/wireless/iwlwifi | |
parent | b48365994b1b5cce8078c0707a06cf9897007fb5 (diff) |
IWL: fix WARN typo
new kew -> a new key
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sta.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c index 5a214d7690a8..0cbb4495c062 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sta.c +++ b/drivers/net/wireless/iwlwifi/iwl-sta.c | |||
@@ -639,7 +639,7 @@ static int iwl_set_wep_dynamic_key_info(struct iwl_priv *priv, | |||
639 | * in uCode. */ | 639 | * in uCode. */ |
640 | 640 | ||
641 | WARN(priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET, | 641 | WARN(priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET, |
642 | "no space for new kew"); | 642 | "no space for a new key"); |
643 | 643 | ||
644 | priv->stations[sta_id].sta.key.key_flags = key_flags; | 644 | priv->stations[sta_id].sta.key.key_flags = key_flags; |
645 | priv->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK; | 645 | priv->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK; |
@@ -687,7 +687,7 @@ static int iwl_set_ccmp_dynamic_key_info(struct iwl_priv *priv, | |||
687 | * in uCode. */ | 687 | * in uCode. */ |
688 | 688 | ||
689 | WARN(priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET, | 689 | WARN(priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET, |
690 | "no space for new kew"); | 690 | "no space for a new key"); |
691 | 691 | ||
692 | priv->stations[sta_id].sta.key.key_flags = key_flags; | 692 | priv->stations[sta_id].sta.key.key_flags = key_flags; |
693 | priv->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK; | 693 | priv->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK; |
@@ -723,7 +723,7 @@ static int iwl_set_tkip_dynamic_key_info(struct iwl_priv *priv, | |||
723 | * in uCode. */ | 723 | * in uCode. */ |
724 | 724 | ||
725 | WARN(priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET, | 725 | WARN(priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET, |
726 | "no space for new kew"); | 726 | "no space for a new key"); |
727 | 727 | ||
728 | /* This copy is acutally not needed: we get the key with each TX */ | 728 | /* This copy is acutally not needed: we get the key with each TX */ |
729 | memcpy(priv->stations[sta_id].keyinfo.key, keyconf->key, 16); | 729 | memcpy(priv->stations[sta_id].keyinfo.key, keyconf->key, 16); |