[<prev] [next>] [day] [month] [year] [list]
Message-Id: <E1eXXj0-0002Ce-Im@ZenIV.linux.org.uk>
Date: Fri, 05 Jan 2018 19:32:18 +0000
From: Al Viro <viro@....linux.org.uk>
To: netdev@...r.kernel.org
Subject: Subject: [RFC][PATCH 06/11] aironet: trivial endianness
annotations
Signed-off-by: Al Viro <viro@...iv.linux.org.uk>
---
drivers/net/wireless/cisco/airo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/cisco/airo.c b/drivers/net/wireless/cisco/airo.c
index 54201c02fdb8..86e795de6760 100644
--- a/drivers/net/wireless/cisco/airo.c
+++ b/drivers/net/wireless/cisco/airo.c
@@ -1237,7 +1237,7 @@ struct airo_info {
int wep_capable;
int max_wep_idx;
- int last_auth;
+ __le16 last_auth;
/* WPA-related stuff */
unsigned int bssListFirst;
@@ -3785,7 +3785,7 @@ static void mpi_receive_802_11(struct airo_info *ai)
}
}
-static inline void set_auth_type(struct airo_info *local, int auth_type)
+static inline void set_auth_type(struct airo_info *local, __le16 auth_type)
{
local->config.authType = auth_type;
/* Cache the last auth type used (of AUTH_OPEN and AUTH_ENCRYPT).
--
2.11.0
Powered by blists - more mailing lists