summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/fw.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2014-08-19 14:24:24 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-08-28 20:41:56 +0200
commit2618d4fb0fb8e28d81f4f922727225470e31e717 (patch)
treeeb230e72c1b39dc52c52b2415f6959099d8b496f /drivers/net/wireless/mwifiex/fw.h
parentath9k_htc: advertise support for TDLS (diff)
downloadlinux-2618d4fb0fb8e28d81f4f922727225470e31e717.tar.xz
linux-2618d4fb0fb8e28d81f4f922727225470e31e717.zip
mwifiex: fix left_len calculation issue
While updating 'left_len' in each iteration, we should subtract last TLV length not the accumulated length of TLVs parsed till now. This bug in parsing logic is exposed by newer firmware which adds two TLVs in GET_HW_SPEC command response. Earlier firmwares used to add only one TLV. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Cathy Luo <cluo@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/fw.h')
0 files changed, 0 insertions, 0 deletions