summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2009-12-04 17:41:34 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-12-07 16:51:24 -0500
commit1814077fd12a9cdf478c10076e9c42094e9d9250 (patch)
tree802c2703cfc1bb4230b52d0f56277e6a3df98ab8 /fs
parent02f7f1793023bd8e5e277ad349f6f43f8c284fb0 (diff)
mac80211: Fix bug in computing crc over dynamic IEs in beacon
On a 32-bit machine, BIT() macro does not give the required bit value if the bit is mroe than 31. In ieee802_11_parse_elems_crc(), BIT() is suppossed to get the bit value more than 31 (42 (id of ERP_INFO_IE), 37 (CHANNEL_SWITCH_IE), (42), 32 (POWER_CONSTRAINT_IE), 45 (HT_CAP_IE), 61 (HT_INFO_IE)). As we do not get the required bit value for the above IEs, crc over these IEs are never calculated, so any dynamic change in these IEs after the association is not really handled on 32-bit platforms. This patch fixes this issue. Cc: stable@kernel.org Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions