staging: wilc1000: refactor get_bssid() function
authorAjay Singh <ajay.kathat@microchip.com>
Thu, 1 Nov 2018 16:45:11 +0000 (16:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Nov 2018 14:23:01 +0000 (15:23 +0100)
commite23c009f728c338e946797d9ff59e61175e34203
treec5ff744547c592dc3035a25dc9b043232d8aa982
parent846b146c5ebe1b0a2665f62cbe434d4637693c33
staging: wilc1000: refactor get_bssid() function

Refactor get_bssid() by making use of 'ieee80211_mgmt' struct. Instead
of passing the memory offset now using structure element to fetch the
bssid information.
Returning the pointer to bssid from get_bssid() instead of filing the
input argument.

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