diff options
author | Stone Piao <piaoyun@marvell.com> | 2012-08-22 20:26:31 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-05 14:53:29 -0400 |
commit | da25186fc605af8ad636073621fa326fbc23a130 (patch) | |
tree | 4209063ec3c892b1083db499796a8faec2acb915 /drivers/net/wireless/rt2x00/rt2800lib.c | |
parent | 785a7de9ee5ab1ff2ec9c6e58667bde1055f2f1b (diff) | |
download | blackbird-op-linux-da25186fc605af8ad636073621fa326fbc23a130.tar.gz blackbird-op-linux-da25186fc605af8ad636073621fa326fbc23a130.zip |
mwifiex: fix skb length issue when send a command to firmware
When we send a command to firmware, we assumed that cmd_size
will be always less than or equal to the structure size of
host_cmd_ds_command. However, this is no longer true after
we added AP support. There are some AP commands that Custom
IE TLVs are included in command buffer, hence the cmd_size
gets enlarged by the TLV data. We need to increase the skb
length for the extra data.
Signed-off-by: Stone Piao <piaoyun@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.c')
0 files changed, 0 insertions, 0 deletions