Steve Brown wrote: > I get these warnings compiling for brcm47xx w/ wireless-testing tree. > > CC [M] drivers/net/wireless/b43/main.o > drivers/net/wireless/b43/main.c: In function 'b43_qos_params_upload': > drivers/net/wireless/b43/main.c:3085: warning: comparison is always > false due to limited range of data type > drivers/net/wireless/b43/main.c:3090: warning: comparison is always > false due to limited range of data type > drivers/net/wireless/b43/main.c:3095: warning: comparison is always > false due to limited range of data type > drivers/net/wireless/b43/main.c:3100: warning: comparison is always > false due to limited range of data type > > The declaration in b43/main.c is: > int cw_min, cw_max, aifs, bslots, tmp; > > The declaration in include/net/mac80211.h is: > struct ieee80211_tx_queue_params { > u16 txop; > u16 cw_min; > u16 cw_max; > u8 aifs; > }; > > --- > > Steve > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > Found the fix for this on linux-wireless. "[PATCH] wireless: fix warnings from QoS patch" Sorry for the noise.
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel