ieee80211: correct IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK macro
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 12 Jan 2011 00:14:24 +0000 (16:14 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Jan 2011 20:46:45 +0000 (15:46 -0500)
commit8d661f1e462d50bd83de87ee628aaf820ce3c66c
tree83c288887603a51bb820fbd9812f4139e3bc6a60
parentccbd4d412dde4b7e858159e5cc8ba7ee4a6cac07
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>
include/linux/ieee80211.h