]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/ieee80211.h
[PATCH] Changed 802.11 headers to use ieee80211_info_element[0]
[linux-2.6-omap-h63xx.git] / include / net / ieee80211.h
index d8bb8f74ed7b6ba6a28243d6bca4073e842e19ac..6394ae4bf17d772f96cfe4597e3ac32fe8d3bc6a 100644 (file)
@@ -538,7 +538,7 @@ struct ieee80211_authentication {
        __le16 algorithm;
        __le16 transaction;
        __le16 status;
-       struct ieee80211_info_element info_element;
+       struct ieee80211_info_element info_element[0];
 } __attribute__ ((packed));
 
 struct ieee80211_probe_response {
@@ -546,14 +546,14 @@ struct ieee80211_probe_response {
        u32 time_stamp[2];
        __le16 beacon_interval;
        __le16 capability;
-       struct ieee80211_info_element info_element;
+       struct ieee80211_info_element info_element[0];
 } __attribute__ ((packed));
 
 struct ieee80211_assoc_request_frame {
        __le16 capability;
        __le16 listen_interval;
        u8 current_ap[ETH_ALEN];
-       struct ieee80211_info_element info_element;
+       struct ieee80211_info_element info_element[0];
 } __attribute__ ((packed));
 
 struct ieee80211_assoc_response_frame {
@@ -561,7 +561,7 @@ struct ieee80211_assoc_response_frame {
        __le16 capability;
        __le16 status;
        __le16 aid;
-       struct ieee80211_info_element info_element;     /* supported rates */
+       struct ieee80211_info_element info_element[0];  /* supported rates */
 } __attribute__ ((packed));
 
 struct ieee80211_txb {