staging: wilc1000: fix the bug on copying bssid
authorTony Cho <tony.cho@atmel.com>
Tue, 20 Oct 2015 08:10:46 +0000 (17:10 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 01:15:40 +0000 (18:15 -0700)
commitc0f52fbac74e4ab17014c1625a651689a96896bb
tree57006ff9b6686b89c8932a752bab481651619c1c
parent12ba5416dc7702cc5bb6d8611d4c288302722c6a
staging: wilc1000: fix the bug on copying bssid

This patch reverts the commit, d79fd35b8c5d927695b48fa35aa586919818cce9.

The WID_JOIN_REQ_EXTENDED among WIDs needs two parameters for the request to
be sent to the firmware, which are the SA and the BSSID. For this case, both
is the same bssid in the handle_connect function. So, it's required to be
copied twice.

Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c