diff options
author | Yogesh Ashok Powar <yogeshp@marvell.com> | 2011-05-18 12:02:03 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-26 15:43:27 -0400 |
commit | 21bc7af6e5e684b44725b20f679e701e38ceef15 (patch) | |
tree | 16a5b3ee99db65df8ed01affac7614e29b162918 /net | |
parent | daf8cf608d57a0b9f22276036e420cc82cf6ab4f (diff) | |
download | op-kernel-dev-21bc7af6e5e684b44725b20f679e701e38ceef15.zip op-kernel-dev-21bc7af6e5e684b44725b20f679e701e38ceef15.tar.gz |
mwifiex: correct event header length
While decoding received event packet from firmware, 4 bytes
of interface header are already removed unconditionally.
So for handling event only 4 more bytes needs to be pulled.
This is achieved by changing event header length to 4.
Almost all the events, except BA stream related and AMSDU
aggregation control events, do not have the payload in their
event skb. Such events handling depends only on the event ID.
This event ID is the first four bytes of the event skb, which
is copied to a separate variable before pulling the skb header.
Hence event handling worked only for those events that didn't
have payload in event skb.
This patch fixes the broken event path of the events with
payload in their event skb without harming existing working
event path for the events without payload.
Signed-off-by: Yogesh Ashok Powar <yogeshp@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