diff options
author | Amitkumar Karwar <[email protected]> | 2012-06-20 20:21:12 -0700 |
---|---|---|
committer | John W. Linville <[email protected]> | 2012-06-22 13:59:50 -0400 |
commit | e80c81dc1416e326482c601af3a19d0f9989638e (patch) | |
tree | f7e73db805d9ab285f03206dbbf17c1b2be581ab /tools/perf/scripts/python | |
parent | f03ba7e9a24e5e9efaad56bd1713b994ea556b16 (diff) |
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 <[email protected]>
Signed-off-by: Kiran Divekar <[email protected]>
Signed-off-by: Bing Zhao <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions