Subject: [patch] d80211: Remove unused ENABLE_COMPRESSION, DISABLE_COMPRESSION cmds to hw->set_key

From: David Kimdon <[email-masked]>
Date: Thu, 16 Nov 2006 13:15:12 -0800

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

Signed-off-by: David Kimdon <[email-masked]>

Index: wireless-dev/include/net/d80211.h
===================================================================
--- wireless-dev.orig/include/net/d80211.h
+++ 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
Index: wireless-dev/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
===================================================================
--- wireless-dev.orig/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
+++ 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);
 	}

--