Annotate len in struct l2_update_frame as big-endian
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 16 Jan 2008 04:08:40 +0000 (04:08 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 16 Jan 2008 04:08:40 +0000 (04:08 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3156 0192ed92-7a03-0410-a25b-9323aeb14dbd

net80211/ieee80211_input.c

index 130c6c57b22b646a01c7f8f392c0de5895c90216..14f2160905d2e750718701fc299abb0e6fcd4eb0 100644 (file)
@@ -2578,7 +2578,7 @@ ieee80211_parse_csaie(struct ieee80211_node *ni, u_int8_t *frm,
 struct l2_update_frame {
        u8 da[ETH_ALEN]; /* broadcast */
        u8 sa[ETH_ALEN]; /* STA addr */
-       u16 len; /* 6 */
+       __be16 len; /* 6 */
        u8 dsap; /* null DSAP address */
        u8 ssap; /* null SSAP address, CR=Response */
        u8 control;