This commit removes not used at all enum values from eap_packet.h
header file. This values are defined in the kernel ieee80211.h
header and the only one that is being used in ks_wlan_net.c source
which is WLAN_REASON_MIC_FAILURE is being used from this header.

Signed-off-by: Sergio Paracuellos <sergio.paracuel...@gmail.com>
---
 drivers/staging/ks7010/eap_packet.h | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/drivers/staging/ks7010/eap_packet.h 
b/drivers/staging/ks7010/eap_packet.h
index 58c2a3d..47184da 100644
--- a/drivers/staging/ks7010/eap_packet.h
+++ b/drivers/staging/ks7010/eap_packet.h
@@ -118,21 +118,4 @@ struct wpa_eapol_key {
 #define GENERIC_INFO_ELEM 0xdd
 #define RSN_INFO_ELEM 0x30
 
-enum {
-       REASON_UNSPECIFIED = 1,
-       REASON_DEAUTH_LEAVING = 3,
-       REASON_INVALID_IE = 13,
-       REASON_MICHAEL_MIC_FAILURE = 14,
-       REASON_4WAY_HANDSHAKE_TIMEOUT = 15,
-       REASON_GROUP_KEY_UPDATE_TIMEOUT = 16,
-       REASON_IE_IN_4WAY_DIFFERS = 17,
-       REASON_GROUP_CIPHER_NOT_VALID = 18,
-       REASON_PAIRWISE_CIPHER_NOT_VALID = 19,
-       REASON_AKMP_NOT_VALID = 20,
-       REASON_UNSUPPORTED_RSN_IE_VERSION = 21,
-       REASON_INVALID_RSN_IE_CAPAB = 22,
-       REASON_IEEE_802_1X_AUTH_FAILED = 23,
-       REASON_CIPHER_SUITE_REJECTED = 24
-};
-
 #endif /* EAP_PACKET_H */
-- 
2.7.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to