Skip to contentSkip to conversation

Subject: [RFC][PATCH 06/11] aironet: trivial endianness annotations

PATCH Al Viro 1 participant 1 message Jan 5, 2018

Subsystems (3)
lore
Share & tools
lore

Al Viro

author
#0 lore raw
---
 drivers/net/wireless/cisco/airo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/cisco/airo.c +2 -2
index 54201c02fdb8..86e795de6760 100644
@@ -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).
Signature · 1 line
2.11.0