Our ABI for hostapd currently uses an old structure that only has one byte for the...
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 29 Oct 2007 22:33:03 +0000 (22:33 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 29 Oct 2007 22:33:03 +0000 (22:33 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2798 0192ed92-7a03-0410-a25b-9323aeb14dbd

net80211/ieee80211_crypto.h

index 04a60ba097906f39e45614d7151f4b0fe7c7bb79..9a49dc0ec41aa368dbec7e23b7bb9310fb7bba45 100644 (file)
@@ -106,7 +106,7 @@ struct ieee80211_key {
 
 #define        IEEE80211_CIPHER_MAX            (IEEE80211_CIPHER_NONE + 1)
 
-#define        IEEE80211_KEYIX_NONE    ((ieee80211_keyix_t) -1)
+#define        IEEE80211_KEYIX_NONE    ((ieee80211_keyix_t) (uint8_t)-1)
 
 #if defined(__KERNEL__) || defined(_KERNEL)