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>
This commit is contained in:
Родитель
b48365994b
Коммит
e724b8fef6
|
@ -639,7 +639,7 @@ static int iwl_set_wep_dynamic_key_info(struct iwl_priv *priv,
|
||||||
* in uCode. */
|
* in uCode. */
|
||||||
|
|
||||||
WARN(priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
|
WARN(priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
|
||||||
"no space for new kew");
|
"no space for a new key");
|
||||||
|
|
||||||
priv->stations[sta_id].sta.key.key_flags = key_flags;
|
priv->stations[sta_id].sta.key.key_flags = key_flags;
|
||||||
priv->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK;
|
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,
|
||||||
* in uCode. */
|
* in uCode. */
|
||||||
|
|
||||||
WARN(priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
|
WARN(priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
|
||||||
"no space for new kew");
|
"no space for a new key");
|
||||||
|
|
||||||
priv->stations[sta_id].sta.key.key_flags = key_flags;
|
priv->stations[sta_id].sta.key.key_flags = key_flags;
|
||||||
priv->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK;
|
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,
|
||||||
* in uCode. */
|
* in uCode. */
|
||||||
|
|
||||||
WARN(priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
|
WARN(priv->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
|
||||||
"no space for new kew");
|
"no space for a new key");
|
||||||
|
|
||||||
/* This copy is acutally not needed: we get the key with each TX */
|
/* This copy is acutally not needed: we get the key with each TX */
|
||||||
memcpy(priv->stations[sta_id].keyinfo.key, keyconf->key, 16);
|
memcpy(priv->stations[sta_id].keyinfo.key, keyconf->key, 16);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче