mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 19:59:34 -04:00
staging: ks7010: Remove trailing _t from 'struct wpa_key_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 wpa_key_t' with 'struct wpa_key'. Signed-off-by: Quytelda Kahja <quytelda@tamalin.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
eafb5e2928
commit
8b76eb091b
@@ -318,7 +318,7 @@ int hostif_data_indication_wpa(struct ks_wlan_private *priv,
|
||||
struct michael_mic_t michael_mic;
|
||||
union iwreq_data wrqu;
|
||||
unsigned int key_index = auth_type - 1;
|
||||
struct wpa_key_t *key = &priv->wpa.key[key_index];
|
||||
struct wpa_key *key = &priv->wpa.key[key_index];
|
||||
|
||||
eth_hdr = (struct ether_hdr *)(priv->rxp);
|
||||
eth_proto = ntohs(eth_hdr->h_proto);
|
||||
|
||||
@@ -339,7 +339,7 @@ enum {
|
||||
|
||||
#define MIC_KEY_SIZE 8
|
||||
|
||||
struct wpa_key_t {
|
||||
struct wpa_key {
|
||||
u32 ext_flags; /* IW_ENCODE_EXT_xxx */
|
||||
u8 tx_seq[IW_ENCODE_SEQ_MAX_SIZE]; /* LSB first */
|
||||
u8 rx_seq[IW_ENCODE_SEQ_MAX_SIZE]; /* LSB first */
|
||||
@@ -373,7 +373,7 @@ struct wpa_status_t {
|
||||
int key_mgmt_suite; /* authentication key management suite */
|
||||
int auth_alg;
|
||||
int txkey;
|
||||
struct wpa_key_t key[WPA_KEY_INDEX_MAX];
|
||||
struct wpa_key key[WPA_KEY_INDEX_MAX];
|
||||
struct scan_ext scan_ext;
|
||||
struct mic_failure_t mic_failure;
|
||||
};
|
||||
|
||||
@@ -1706,7 +1706,7 @@ static int ks_wlan_set_encode_ext(struct net_device *dev,
|
||||
struct iw_encode_ext *enc;
|
||||
int index = dwrq->flags & IW_ENCODE_INDEX;
|
||||
unsigned int commit = 0;
|
||||
struct wpa_key_t *key;
|
||||
struct wpa_key *key;
|
||||
|
||||
enc = (struct iw_encode_ext *)extra;
|
||||
if (!enc)
|
||||
|
||||
Reference in New Issue
Block a user