]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Fix target minimum length requirement for WMI_SEND_PROBE_RESPONSE_CMDID
authorAarthi Thiruvengadam <athiruve@qca.qualcomm.com>
Wed, 9 Nov 2011 18:05:56 +0000 (10:05 -0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sun, 13 Nov 2011 10:31:50 +0000 (12:31 +0200)
commit4dd2cf0892d216b1903ada8e5836280ddf4570f5
tree6210c5e9f3fe3a58b578ae50ef7a07ddff0fad38
parentc04378782c78fb61afbcae9cfe9179d92ae4b8c9
ath6kl: Fix target minimum length requirement for WMI_SEND_PROBE_RESPONSE_CMDID

The firmware expects the minimum length of
WMI_SEND_PROBE_RESPONSE_CMDID to be 13. However, when the device is a
P2P GO and it needs to send a probe response to a non-P2P client,
there are no P2P IEs to be added, and therefore the length of the WMI
command is 12. This command gets rejected by the firmware. To fix
this, add an extra byte to satisfy the minimum length requirement.

Signed-off-by: Aarthi Thiruvengadam <athiruve@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/wmi.c