aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/airo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/airo.c')
-rw-r--r--drivers/net/wireless/airo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c
index b96b6dbe01f9..864937a409e5 100644
--- a/drivers/net/wireless/airo.c
+++ b/drivers/net/wireless/airo.c
@@ -5036,7 +5036,6 @@ static int set_wep_key(struct airo_info *ai, u16 index,
5036 wkr.len = sizeof(wkr); 5036 wkr.len = sizeof(wkr);
5037 wkr.kindex = 0xffff; 5037 wkr.kindex = 0xffff;
5038 wkr.mac[0] = (char)index; 5038 wkr.mac[0] = (char)index;
5039 if (perm) printk(KERN_INFO "Setting transmit key to %d\n", index);
5040 if (perm) ai->defindex = (char)index; 5039 if (perm) ai->defindex = (char)index;
5041 } else { 5040 } else {
5042// We are actually setting the key 5041// We are actually setting the key
@@ -5045,7 +5044,6 @@ static int set_wep_key(struct airo_info *ai, u16 index,
5045 wkr.klen = keylen; 5044 wkr.klen = keylen;
5046 memcpy( wkr.key, key, keylen ); 5045 memcpy( wkr.key, key, keylen );
5047 memcpy( wkr.mac, macaddr, ETH_ALEN ); 5046 memcpy( wkr.mac, macaddr, ETH_ALEN );
5048 printk(KERN_INFO "Setting key %d\n", index);
5049 } 5047 }
5050 5048
5051 if (perm) disable_MAC(ai, lock); 5049 if (perm) disable_MAC(ai, lock);