staging: ks7010: Remove duplicate #define's

The AUTH_TYPE_OPEN_SYSTEM and AUTH_TYPE_SHARED_KEY #define lines
are duplicated in ks_hostif.h.  Replace them both with one set of

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Quytelda Kahja 2018-03-22 22:07:42 -07:00 committed by Greg Kroah-Hartman
parent 6024089f0b
commit 69a3d5bc61
1 changed files with 3 additions and 4 deletions

View File

@ -369,6 +369,9 @@ struct hostif_ps_adhoc_set_confirm_t {
__le16 result_code; __le16 result_code;
} __packed; } __packed;
#define AUTH_TYPE_OPEN_SYSTEM 0
#define AUTH_TYPE_SHARED_KEY 1
/** /**
* struct hostif_infrastructure_set_request_t * struct hostif_infrastructure_set_request_t
* @capability: bit5 : preamble * @capability: bit5 : preamble
@ -382,8 +385,6 @@ struct hostif_infrastructure_set_request_t {
struct ssid_t ssid; struct ssid_t ssid;
__le16 beacon_lost_count; __le16 beacon_lost_count;
__le16 auth_type; __le16 auth_type;
#define AUTH_TYPE_OPEN_SYSTEM 0
#define AUTH_TYPE_SHARED_KEY 1
struct channel_list_t channel_list; struct channel_list_t channel_list;
} __packed; } __packed;
@ -400,8 +401,6 @@ struct hostif_infrastructure_set2_request_t {
struct ssid_t ssid; struct ssid_t ssid;
__le16 beacon_lost_count; __le16 beacon_lost_count;
__le16 auth_type; __le16 auth_type;
#define AUTH_TYPE_OPEN_SYSTEM 0
#define AUTH_TYPE_SHARED_KEY 1
struct channel_list_t channel_list; struct channel_list_t channel_list;
u8 bssid[ETH_ALEN]; u8 bssid[ETH_ALEN];
} __packed; } __packed;