rsi: data packet descriptor code cleanup
authorPavani Muthyala <pavani.muthyala@redpinesignals.com>
Thu, 6 Jul 2017 14:37:17 +0000 (20:07 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jul 2017 14:22:39 +0000 (17:22 +0300)
commitaf193097767819b72456800143cf577e453a9331
treecd2ebb4af05138f8258d9b750e86eb5df530d1d9
parent6507de6df9007b24d843287a6feba10c1dafffd6
rsi: data packet descriptor code cleanup

Currently this descriptor is prepared with the help of __le16
pointer. This patch makes use of a structure to prepare the
descriptor in a cleaner way.

Signed-off-by: Pavani Muthyala <pavani.muthyala@redpinesignals.com>
Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_hal.c
drivers/net/wireless/rsi/rsi_hal.h
drivers/net/wireless/rsi/rsi_mgmt.h