Warning fix for old Linux 2.6 for i386
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Tue, 2 Sep 2008 21:30:32 +0000 (21:30 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Tue, 2 Sep 2008 21:30:32 +0000 (21:30 +0000)
av_beacon_alloc should be unsigned long, not unsigned int to match
signatures of bitmask manupulation functions on i386.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3856 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath/if_athvar.h

index e6b72cec56a9989603337ffe5f7790fc58c49c69..45708d7f6ebc8eed5b8d6b679e39c7c8c99de180 100644 (file)
@@ -537,7 +537,7 @@ struct ath_vap {
        atomic_t av_beacon_alloc;       /* set to 1 when the next beacon needs
                                           to be recomputed */
 #else
-       unsigned int av_beacon_alloc;
+       unsigned long av_beacon_alloc;
 #endif
 };
 #define        ATH_VAP(_v)     ((struct ath_vap *)(_v))