rsi: fix uninitialized descriptor pointer issue
authorPrameela Rani Garnepudi <prameela.j04cs@gmail.com>
Thu, 3 Aug 2017 14:26:39 +0000 (19:56 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 8 Aug 2017 11:45:26 +0000 (14:45 +0300)
commit6345016d4bea6a82300c209d99e7f593800e3b4e
tree58cca95eec7ad016d67180df6d74ddd970a46fc6
parent9ca766b3641f99975783867d3e0a54e24549d97e
rsi: fix uninitialized descriptor pointer issue

This patch fixes the uninitialized descriptor pointer
issue in function rsi_send_internal_mgmt_frame().
Descriptor should point to start of the skb data.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 9a629fafe7d8 ("rsi: immediate wakeup bit and priority for TX command packets")
Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@gmail.com>
Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_mgmt.c