Commit f43036cc authored by Quytelda Kahja's avatar Quytelda Kahja Committed by Greg Kroah-Hartman

staging: ks7010: Remove trailing _t from 'struct association_response_t'.

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct association_response_t' with 'struct
association_response'.
Signed-off-by: default avatarQuytelda Kahja <quytelda@tamalin.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e80ce487
...@@ -864,7 +864,7 @@ static ...@@ -864,7 +864,7 @@ static
void hostif_associate_indication(struct ks_wlan_private *priv) void hostif_associate_indication(struct ks_wlan_private *priv)
{ {
struct association_request *assoc_req; struct association_request *assoc_req;
struct association_response_t *assoc_resp; struct association_response *assoc_resp;
unsigned char *pb; unsigned char *pb;
union iwreq_data wrqu; union iwreq_data wrqu;
char buf[IW_CUSTOM_MAX]; char buf[IW_CUSTOM_MAX];
...@@ -875,7 +875,7 @@ void hostif_associate_indication(struct ks_wlan_private *priv) ...@@ -875,7 +875,7 @@ void hostif_associate_indication(struct ks_wlan_private *priv)
static const char associnfo_leader1[] = " RespIEs="; static const char associnfo_leader1[] = " RespIEs=";
assoc_req = (struct association_request *)(priv->rxp); assoc_req = (struct association_request *)(priv->rxp);
assoc_resp = (struct association_response_t *)(assoc_req + 1); assoc_resp = (struct association_response *)(assoc_req + 1);
pb = (unsigned char *)(assoc_resp + 1); pb = (unsigned char *)(assoc_resp + 1);
memset(&wrqu, 0, sizeof(wrqu)); memset(&wrqu, 0, sizeof(wrqu));
......
...@@ -390,7 +390,7 @@ struct association_request { ...@@ -390,7 +390,7 @@ struct association_request {
__le16 req_ies_size; __le16 req_ies_size;
} __packed; } __packed;
struct association_response_t { struct association_response {
u8 type; u8 type;
u8 pad; u8 pad;
__le16 capability; __le16 capability;
...@@ -402,7 +402,7 @@ struct association_response_t { ...@@ -402,7 +402,7 @@ struct association_response_t {
struct hostif_associate_indication_t { struct hostif_associate_indication_t {
struct hostif_hdr header; struct hostif_hdr header;
struct association_request assoc_req; struct association_request assoc_req;
struct association_response_t assoc_resp; struct association_response assoc_resp;
/* followed by (req_ies_size + resp_ies_size) octets of data */ /* followed by (req_ies_size + resp_ies_size) octets of data */
/* reqIEs data *//* respIEs data */ /* reqIEs data *//* respIEs data */
} __packed; } __packed;
......
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