libertas: use __le64 type
Marcelo Tosatti
mtosatti at redhat.unroutablecom
Wed Dec 20 16:01:16 EST 2006
Commit: 29b028e8256a92f6fc273d5f3f9849b7ef80e8a0
Parent: 36b562b6ead6b24396b7cb0c8c96eeeffe608177
commit 29b028e8256a92f6fc273d5f3f9849b7ef80e8a0
Author: Marcelo Tosatti <mtosatti at redhat.com>
AuthorDate: Fri Dec 15 17:40:11 2006 -0200
Commit: Andres Salomon <dilinger at debian.org>
CommitDate: Wed Dec 20 15:54:25 2006 -0500
libertas: use __le64 type
Switch u64 to __le64 Linux type.
Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
(cherry picked from 83cb0a24d03840efbc91498c754e7b3edd01cce2 commit)
---
drivers/net/wireless/libertas/hostcmd.h | 2 +-
drivers/net/wireless/libertas/wlan_scan.h | 4 ++--
drivers/net/wireless/libertas/wlan_types.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
index ae3e948..34bdeb3 100644
--- a/drivers/net/wireless/libertas/hostcmd.h
+++ b/drivers/net/wireless/libertas/hostcmd.h
@@ -770,7 +770,7 @@ struct HostCmd_TX_RATE_QUERY {
} __attribute__ ((packed));
struct HostCmd_DS_GET_TSF {
- u64 TsfValue;
+ __le64 TsfValue;
} __attribute__ ((packed));
/* HostCmd_CMD_BT_ACCESS */
diff --git a/drivers/net/wireless/libertas/wlan_scan.h b/drivers/net/wireless/libertas/wlan_scan.h
index 7fd024d..1665e4a 100644
--- a/drivers/net/wireless/libertas/wlan_scan.h
+++ b/drivers/net/wireless/libertas/wlan_scan.h
@@ -159,7 +159,7 @@ struct wlan_ioctl_user_scan_cfg {
* @brief Variable number (fixed maximum) of channels to scan up
*/
struct wlan_ioctl_user_scan_chan chanList[WLAN_IOCTL_USER_SCAN_CHAN_MAX];
-} __attribute__ ((packed));
+};
/**
* @brief Structure used to store information for each beacon/probe response
@@ -193,7 +193,7 @@ struct bss_descriptor {
struct IEEEtypes_CapInfo Cap;
u8 DataRates[WLAN_SUPPORTED_RATES];
- u64 networkTSF; //!< TSF timestamp from the current firmware TSF
+ __le64 networkTSF; //!< TSF timestamp from the current firmware TSF
struct IEEEtypes_CountryInfoFullSet CountryInfo;
diff --git a/drivers/net/wireless/libertas/wlan_types.h b/drivers/net/wireless/libertas/wlan_types.h
index 8693e1b..dccd61a 100644
--- a/drivers/net/wireless/libertas/wlan_types.h
+++ b/drivers/net/wireless/libertas/wlan_types.h
@@ -273,7 +273,7 @@ struct MrvlIEtypes_RsnParamSet {
struct MrvlIEtypes_TsfTimestamp {
struct MrvlIEtypesHeader Header;
- u64 tsfTable[1];
+ __le64 tsfTable[1];
} __attribute__ ((packed));
/** Local Power Capability */
More information about the Commits-kernel
mailing list