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

staging: ks7010: Remove trailing _t from 'struct mic_failure_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 mic_failure_t' with 'struct mic_failure'.
Signed-off-by: default avatarQuytelda Kahja <quytelda@tamalin.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8b76eb09
...@@ -314,7 +314,7 @@ int hostif_data_indication_wpa(struct ks_wlan_private *priv, ...@@ -314,7 +314,7 @@ int hostif_data_indication_wpa(struct ks_wlan_private *priv,
unsigned char recv_mic[8]; unsigned char recv_mic[8];
char buf[128]; char buf[128];
unsigned long now; unsigned long now;
struct mic_failure_t *mic_failure; struct mic_failure *mic_failure;
struct michael_mic_t michael_mic; struct michael_mic_t michael_mic;
union iwreq_data wrqu; union iwreq_data wrqu;
unsigned int key_index = auth_type - 1; unsigned int key_index = auth_type - 1;
......
...@@ -357,7 +357,7 @@ struct wpa_key { ...@@ -357,7 +357,7 @@ struct wpa_key {
#define WPA_KEY_INDEX_MAX 4 #define WPA_KEY_INDEX_MAX 4
#define WPA_RX_SEQ_LEN 6 #define WPA_RX_SEQ_LEN 6
struct mic_failure_t { struct mic_failure {
u16 failure; /* MIC Failure counter 0 or 1 or 2 */ u16 failure; /* MIC Failure counter 0 or 1 or 2 */
u16 counter; /* 1sec counter 0-60 */ u16 counter; /* 1sec counter 0-60 */
u32 last_failure_time; u32 last_failure_time;
...@@ -375,7 +375,7 @@ struct wpa_status_t { ...@@ -375,7 +375,7 @@ struct wpa_status_t {
int txkey; int txkey;
struct wpa_key key[WPA_KEY_INDEX_MAX]; struct wpa_key key[WPA_KEY_INDEX_MAX];
struct scan_ext scan_ext; struct scan_ext scan_ext;
struct mic_failure_t mic_failure; struct mic_failure mic_failure;
}; };
#include <linux/list.h> #include <linux/list.h>
......
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