diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2012-06-20 20:21:12 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-22 13:59:50 -0400 |
commit | e80c81dc1416e326482c601af3a19d0f9989638e (patch) | |
tree | f7e73db805d9ab285f03206dbbf17c1b2be581ab /net | |
parent | f03ba7e9a24e5e9efaad56bd1713b994ea556b16 (diff) | |
download | linux-3.10-e80c81dc1416e326482c601af3a19d0f9989638e.tar.gz linux-3.10-e80c81dc1416e326482c601af3a19d0f9989638e.tar.bz2 linux-3.10-e80c81dc1416e326482c601af3a19d0f9989638e.zip |
mwifiex: fix bugs in event handling code
This patch ensures uniformity in event skb sent by interface code
(USB/PCIe/SDIO) which automatically fixes following bugs.
1) For USB interface, same buffer is reused for receiving cmd and
events from firmware. While handling events, we perform
skb_pull(skb, 4) to remove event header. Corresponding skb_push()
call is missing while submitting the buffer.
2) For PCIe interface, event skb is passed with event header.
Recently added uAP events EVENT_UAP_STA_ASSOC, EVENT_UAP_STA_DEAUTH
will not work for PCIe, as they assume event skb points to event body.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions