ieee80211: correct IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK macro
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 26 Jan 2011 15:25:20 +0000 (16:25 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Wed, 26 Jan 2011 15:26:14 +0000 (16:26 +0100)
commitd05b07b785962e46bf342917e4450732dab3709e
treec91166779b13fb6bc029d7a35b0c801ca678c5ba
parent439cedcac2fc950f32b120ff2b128968d6fb34ef
ieee80211: correct IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK macro

It is defined in include/linux/ieee80211.h. As per IEEE spec.
bit6 to bit15 in block ack parameter represents buffer size.
So the bitmask should be 0xFFC0.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Cc: stable@kernel.org
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h