[MAC80211]: remove ALG_NONE
This "algorithm" is used only internally and is not useful. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Michael Buesch <mb@bu3sch.de> Acked-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
640845a563
commit
628a140ba0
@@ -2827,9 +2827,6 @@ static int b43_dev_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
|
||||
if (!dev)
|
||||
return -ENODEV;
|
||||
switch (key->alg) {
|
||||
case ALG_NONE:
|
||||
algorithm = B43_SEC_ALGO_NONE;
|
||||
break;
|
||||
case ALG_WEP:
|
||||
if (key->keylen == 5)
|
||||
algorithm = B43_SEC_ALGO_WEP40;
|
||||
|
@@ -2579,10 +2579,6 @@ static void iwl_build_tx_cmd_hwcrypto(struct iwl_priv *priv,
|
||||
"with key %d\n", ctl->key_idx);
|
||||
break;
|
||||
|
||||
case ALG_NONE:
|
||||
IWL_DEBUG_TX("Tx packet in the clear (encrypt requested).\n");
|
||||
break;
|
||||
|
||||
default:
|
||||
printk(KERN_ERR "Unknown encode alg %d\n", keyinfo->alg);
|
||||
break;
|
||||
|
@@ -2663,10 +2663,6 @@ static void iwl_build_tx_cmd_hwcrypto(struct iwl_priv *priv,
|
||||
"with key %d\n", ctl->key_idx);
|
||||
break;
|
||||
|
||||
case ALG_NONE:
|
||||
IWL_DEBUG_TX("Tx packet in the clear (encrypt requested).\n");
|
||||
break;
|
||||
|
||||
default:
|
||||
printk(KERN_ERR "Unknown encode alg %d\n", keyinfo->alg);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user