summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_lcn.c
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2013-03-20 17:56:23 -0700
committerJohn W. Linville <linville@tuxdriver.com>2013-03-25 14:54:45 -0400
commit0f49d64c95944f5701216e900b89aab749edcda2 (patch)
tree222c37646264eaf825b24187ea115337d4517377 /drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_lcn.c
parentfae172136c0cfc80cb4b13620c861688e671650a (diff)
downloadlinux-0f49d64c95944f5701216e900b89aab749edcda2.tar.bz2
mwifiex: reset skb->data after processing PCIe sleep confirm cmd respose
This patch is a bug fix for an issue wherein power save was not working for PCIe. This happens because for processing power save sleep confirm command we pull skb so that skb->data points ahead of interface header. We use same skb to get other cmda responses as well. So if we don't push skb after processing cmd response, it results into reduction in skb->len and finally skb->len reaches zero. This causes failure in processing sleep command response. Fix this by pushing skb by INTF_HEADER_LEN at the end of command response processing. Signed-off-by: Avinash Patil <patila@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/brcm80211/brcmsmac/phy/phytbl_lcn.c')
0 files changed, 0 insertions, 0 deletions