staging: ks7010: Remove trailing _t from 'struct mic_failure_t'.
authorQuytelda Kahja <quytelda@tamalin.org>
Sat, 31 Mar 2018 06:08:42 +0000 (23:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:18:57 +0000 (14:18 +0200)
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: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c
drivers/staging/ks7010/ks_wlan.h

index d5be57e..85b9e26 100644 (file)
@@ -314,7 +314,7 @@ int hostif_data_indication_wpa(struct ks_wlan_private *priv,
        unsigned char recv_mic[8];
        char buf[128];
        unsigned long now;
-       struct mic_failure_t *mic_failure;
+       struct mic_failure *mic_failure;
        struct michael_mic_t michael_mic;
        union iwreq_data wrqu;
        unsigned int key_index = auth_type - 1;
index 2458dbb..c3e6102 100644 (file)
@@ -357,7 +357,7 @@ struct wpa_key {
 #define WPA_KEY_INDEX_MAX 4
 #define WPA_RX_SEQ_LEN 6
 
-struct mic_failure_t {
+struct mic_failure {
        u16 failure;    /* MIC Failure counter 0 or 1 or 2 */
        u16 counter;    /* 1sec counter 0-60 */
        u32 last_failure_time;
@@ -375,7 +375,7 @@ struct wpa_status_t {
        int txkey;
        struct wpa_key key[WPA_KEY_INDEX_MAX];
        struct scan_ext scan_ext;
-       struct mic_failure_t mic_failure;
+       struct mic_failure mic_failure;
 };
 
 #include <linux/list.h>