staging: wilc1000: use 'struct' to pack cfg header frame in wilc_wlan_cfg_commit()
authorAjay Singh <ajay.kathat@microchip.com>
Thu, 17 Jan 2019 13:21:15 +0000 (13:21 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2019 09:39:15 +0000 (10:39 +0100)
commit8ffcedd6f4c2544fdb4b25479cb3d9dcd21e54e3
tree95d563f74f88dfe5a70b1bfd5a96ca00bb565e0d
parent4e90d5f3e85c538efd0ae059d5ccfdab3a388b49
staging: wilc1000: use 'struct' to pack cfg header frame in wilc_wlan_cfg_commit()

Make use of 'struct' to pack cfg header in wilc_wlan_cfg_commit()
instead of byte by byte filling.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_netdevice.h
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan.h