Commit 53d27eaf authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by John W. Linville

rndis_wlan: fix sparse endianess warnings

Signed-off-by: default avatarJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c5c4fe90
...@@ -253,8 +253,8 @@ struct ndis_80211_pmkid_cand_list { ...@@ -253,8 +253,8 @@ struct ndis_80211_pmkid_cand_list {
struct ndis_80211_status_indication { struct ndis_80211_status_indication {
__le32 status_type; __le32 status_type;
union { union {
enum ndis_80211_media_stream_mode media_stream_mode; __le32 media_stream_mode;
enum ndis_80211_radio_status radio_status; __le32 radio_status;
struct ndis_80211_auth_request auth_request[0]; struct ndis_80211_auth_request auth_request[0];
struct ndis_80211_pmkid_cand_list cand_list; struct ndis_80211_pmkid_cand_list cand_list;
} u; } u;
...@@ -1296,7 +1296,7 @@ static int add_wep_key(struct usbnet *usbdev, const u8 *key, int key_len, ...@@ -1296,7 +1296,7 @@ static int add_wep_key(struct usbnet *usbdev, const u8 *key, int key_len,
static int add_wpa_key(struct usbnet *usbdev, const u8 *key, int key_len, static int add_wpa_key(struct usbnet *usbdev, const u8 *key, int key_len,
int index, const u8 *addr, const u8 *rx_seq, int index, const u8 *addr, const u8 *rx_seq,
int seq_len, u32 cipher, int flags) int seq_len, u32 cipher, __le32 flags)
{ {
struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev);
struct ndis_80211_key ndis_key; struct ndis_80211_key ndis_key;
...@@ -2023,7 +2023,7 @@ static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev, ...@@ -2023,7 +2023,7 @@ static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev,
{ {
struct rndis_wlan_private *priv = wiphy_priv(wiphy); struct rndis_wlan_private *priv = wiphy_priv(wiphy);
struct usbnet *usbdev = priv->usbdev; struct usbnet *usbdev = priv->usbdev;
int flags; __le32 flags;
devdbg(usbdev, "rndis_add_key(%i, %pM, %08x)", key_index, mac_addr, devdbg(usbdev, "rndis_add_key(%i, %pM, %08x)", key_index, mac_addr,
params->cipher); params->cipher);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment