staging: wilc1000: remove typedef from tstrHostIFpmkid

This patch removes typedef from the struct tstrHostIFpmkid.
And rename it to host_if_pmkid.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Leo Kim 2015-10-05 15:25:45 +09:00 committed by Greg Kroah-Hartman
parent a949f9095d
commit cd1e6cb4c9
2 changed files with 4 additions and 4 deletions

View File

@ -83,14 +83,14 @@ typedef enum {
HOST_IF_FORCE_32BIT = 0xFFFFFFFF
} tenuHostIFstate;
typedef struct _tstrHostIFpmkid {
struct host_if_pmkid {
u8 bssid[ETH_ALEN];
u8 pmkid[PMKID_LEN];
} tstrHostIFpmkid;
};
struct host_if_pmkid_attr {
u8 numpmkid;
tstrHostIFpmkid pmkidlist[WILC_MAX_NUM_PMKIDS];
struct host_if_pmkid pmkidlist[WILC_MAX_NUM_PMKIDS];
};
typedef enum {

View File

@ -1885,7 +1885,7 @@ static int del_pmksa(struct wiphy *wiphy, struct net_device *netdev,
ETH_ALEN)) {
/*If bssid is found, reset the values*/
PRINT_D(CFG80211_DBG, "Reseting PMKID values\n");
memset(&priv->pmkid_list.pmkidlist[i], 0, sizeof(tstrHostIFpmkid));
memset(&priv->pmkid_list.pmkidlist[i], 0, sizeof(struct host_if_pmkid));
flag = PMKID_FOUND;
break;
}