]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
radiotap parser: fix endian annotation
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 21 Apr 2010 08:25:36 +0000 (10:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 21 Apr 2010 18:15:19 +0000 (14:15 -0400)
When I updated this from the corresponding
userspace library, an annotation error crept
in -- this variable needs to be annotated as
little endian. No effect on code generation.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h

index 37cebd3aa0f7d3f57d9a89b4f617e66a406676ee..5a4efe54cffdb0ff047a62f53bd2c5e5dfa9b5db 100644 (file)
@@ -1643,7 +1643,7 @@ struct ieee80211_radiotap_iterator {
        const struct ieee80211_radiotap_namespace *current_namespace;
 
        unsigned char *_arg, *_next_ns_data;
-       uint32_t *_next_bitmap;
+       __le32 *_next_bitmap;
 
        unsigned char *this_arg;
        int this_arg_index;