Skip to contentSkip to conversation

d80211: Remove unused ENABLE_COMPRESSION, DISABLE_COMPRESSION cmds to hw->set_key

PATCH New David Kimdon 1 participant 1 message Nov 16, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 d80211: Remove unused ENABLE_COMPRESSION, DISABLE_COMPRESSION cmds to hw->set_key

These two commands are currently unused. They were previously used to enable hardware compression on Atheros hardware.

include/net/d80211.h +0 -1
Index: wireless-dev/include/net/d80211.h
===================================================================
@@ -410,7 +410,6 @@ struct ieee80211_scan_conf {
 
 typedef enum {
 	SET_KEY, DISABLE_KEY, REMOVE_ALL_KEYS,
-	ENABLE_COMPRESSION, DISABLE_COMPRESSION
 } set_key_cmd;
 
 /* Configuration block used by the low-level driver to tell the 802.11 code
drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c +0 -4
Index: wireless-dev/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
===================================================================
@@ -3721,10 +3721,6 @@ static int bcm43xx_net_set_key(struct ne
 		bcm43xx_clear_keys(bcm);
 		err = 0;
 		break;
-	case ENABLE_COMPRESSION:
-	case DISABLE_COMPRESSION:
-		err = 0;
-		break;
 	default:
 		assert(0);
 	}

--