lkml.org 
[lkml]   [2018]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 17/76] staging: ks7010: Remove trailing _t from 'struct ssid_t'.
    Date
    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 ssid_t' with 'struct ssid'.

    Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
    ---
    drivers/staging/ks7010/ks_hostif.h | 10 +++++-----
    1 file changed, 5 insertions(+), 5 deletions(-)

    diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
    index fe85e22c4a5e..e87153786d61 100644
    --- a/drivers/staging/ks7010/ks_hostif.h
    +++ b/drivers/staging/ks7010/ks_hostif.h
    @@ -225,7 +225,7 @@ struct hostif_start_confirm {
    __le16 result_code;
    } __packed;

    -struct ssid_t {
    +struct ssid {
    u8 size;
    u8 body[IEEE80211_MAX_SSID_LEN];
    u8 ssid_pad;
    @@ -382,7 +382,7 @@ struct hostif_ps_adhoc_set_confirm_t {
    struct hostif_infrastructure_set_request_t {
    struct hostif_hdr header;
    struct hostif_request_t request;
    - struct ssid_t ssid;
    + struct ssid ssid;
    __le16 beacon_lost_count;
    __le16 auth_type;
    struct channel_list channel_list;
    @@ -404,7 +404,7 @@ struct hostif_infrastructure_set_confirm_t {
    struct hostif_adhoc_set_request_t {
    struct hostif_hdr header;
    struct hostif_request_t request;
    - struct ssid_t ssid;
    + struct ssid ssid;
    __le16 channel;
    } __packed;

    @@ -419,7 +419,7 @@ struct hostif_adhoc_set2_request_t {
    struct hostif_hdr header;
    struct hostif_request_t request;
    __le16 reserved;
    - struct ssid_t ssid;
    + struct ssid ssid;
    struct channel_list channel_list;
    u8 bssid[ETH_ALEN];
    } __packed;
    @@ -469,7 +469,7 @@ struct hostif_bss_scan_request_t {
    __le32 ch_time_min;
    __le32 ch_time_max;
    struct channel_list channel_list;
    - struct ssid_t ssid;
    + struct ssid ssid;
    } __packed;

    struct hostif_bss_scan_confirm_t {
    --
    2.16.3
    \
     
     \ /
      Last update: 2018-03-30 09:09    [W:3.303 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site