Commit b58e1dda authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman

staging: ks7010: remove some duplicated definitions in ks_wlan_net.c

This definitions are in linux/wireless.h header so it is not
necessary at all to have this compatibility stuff duplicated here.
Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cb3f0b4b
...@@ -43,12 +43,6 @@ struct wep_key { ...@@ -43,12 +43,6 @@ struct wep_key {
u8 key[16]; /* 40-bit and 104-bit keys */ u8 key[16]; /* 40-bit and 104-bit keys */
}; };
/* Backward compatibility */
#ifndef IW_ENCODE_NOKEY
#define IW_ENCODE_NOKEY 0x0800 /* Key is write only, so not present */
#define IW_ENCODE_MODE (IW_ENCODE_DISABLED | IW_ENCODE_RESTRICTED | IW_ENCODE_OPEN)
#endif /* IW_ENCODE_NOKEY */
/* List of Wireless Handlers (new API) */ /* List of Wireless Handlers (new API) */
static const struct iw_handler_def ks_wlan_handler_def; static const struct iw_handler_def ks_wlan_handler_def;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment