]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: renames u64Tsf of connect_resp_info structure
authorLeo Kim <leo.kim@atmel.com>
Thu, 4 Feb 2016 09:24:26 +0000 (18:24 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
This patch renames u64Tsf variable to tsf_hi.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.c
drivers/staging/wilc1000/coreconfigurator.h
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index cbca6a0f7bc6928b89ae01aedadc10d2b02fab72..d481719a97dba4c4fb7fb975b0547c93394e3eda 100644 (file)
@@ -320,7 +320,7 @@ s32 wilc_parse_network_info(u8 *msg_buffer,
                tsf_lo = get_beacon_timestamp_lo(msa);
                tsf_hi = get_beacon_timestamp_hi(msa);
 
-               network_info->u64Tsf = tsf_lo | ((u64)tsf_hi << 32);
+               network_info->tsf_hi = tsf_lo | ((u64)tsf_hi << 32);
 
                get_ssid(msa, network_info->ssid, &network_info->ssid_len);
                get_BSSID(msa, network_info->bssid);
index 18c785b0769be5567db6151fed2ec70f981516e6..748199d4439aca0bafb69de9ef6a842f9c0f8911 100644 (file)
@@ -94,7 +94,7 @@ struct network_info {
        u16 ies_len;
        void *join_params;
        tstrRSSI str_rssi;
-       u64 u64Tsf;
+       u64 tsf_hi;
 };
 
 struct connect_resp_info {
index 30b163402e05a352abf0fa0c59dc779e9eff317d..35c39c66af4dc0f05c81790e6488760d7ed76f47 100644 (file)
@@ -251,7 +251,7 @@ static void refresh_scan(void *user_void, u8 all, bool direct_scan)
                                                                  channel,
                                                                  CFG80211_BSS_FTYPE_UNKNOWN,
                                                                  network_info->bssid,
-                                                                 network_info->u64Tsf,
+                                                                 network_info->tsf_hi,
                                                                  network_info->cap_info,
                                                                  network_info->beacon_period,
                                                                  (const u8 *)network_info->ies,
@@ -379,7 +379,7 @@ static void add_network_to_shadow(struct network_info *pstrNetworkInfo,
        last_scanned_shadow[ap_index].dtim_period = pstrNetworkInfo->dtim_period;
        last_scanned_shadow[ap_index].ch = pstrNetworkInfo->ch;
        last_scanned_shadow[ap_index].ies_len = pstrNetworkInfo->ies_len;
-       last_scanned_shadow[ap_index].u64Tsf = pstrNetworkInfo->u64Tsf;
+       last_scanned_shadow[ap_index].tsf_hi = pstrNetworkInfo->tsf_hi;
        if (ap_found != -1)
                kfree(last_scanned_shadow[ap_index].ies);
        last_scanned_shadow[ap_index].ies = kmalloc(pstrNetworkInfo->ies_len,
@@ -449,7 +449,7 @@ static void CfgScanResult(enum scan_event scan_event,
                                                                                  channel,
                                                                                  CFG80211_BSS_FTYPE_UNKNOWN,
                                                                                  network_info->bssid,
-                                                                                 network_info->u64Tsf,
+                                                                                 network_info->tsf_hi,
                                                                                  network_info->cap_info,
                                                                                  network_info->beacon_period,
                                                                                  (const u8 *)network_info->ies,