WMM related compile bug on F17

Ben Greear <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Organization Candela Technologies
Message-ID <[email protected]>
While trying to get latest code to build on F17 and other older systems, I noticed
that this code fails to compile:

struct hostapd_wmm_ac_params wmmp[WMM_AC_NUM] = { 0 };

It looks like WMM_AC_NUM is treated as 0, even though the enum defines it
as 4.

Anyone know if this is some particular compiler bug or an acceptable work-around?

Thanks,
Ben

-- 
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.