mwifiex: add missing skb_push() in mwifiex_check_uap_capabilties
authorAmitkumar Karwar <akarwar@marvell.com>
Mon, 27 Jul 2015 12:02:27 +0000 (05:02 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 6 Aug 2015 07:19:23 +0000 (10:19 +0300)
commit6c6317321107bee5aad2d85d848b0597428343d8
tree717e8a4f0408b2f3c5a2be225a38b059bfc0a705
parentd1c5409612ad25d8a35a49a89ad302fc797eeb8e
mwifiex: add missing skb_push() in mwifiex_check_uap_capabilties

For PCIe/USB chipsets, preallocated skb buffers are reused for
event handling. mwifiex_check_uap_capabilties() performs
skb_pull(). This patch adds missing skb_push() to restore skb's
data pointer/length.

This bug was introduced by commit debfc6008169 ("mwifiex: update
AP WMM settings from BSS_START event")

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/uap_event.c