]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fdfdd4fca2fc285231199dc4b4d608d48b95bbb
tree57006ff9b6686b89c8932a752bab481651619c1c
parente63e6ad2dbfd6e93a70198d755e738bbd372030c
staging: wilc1000: fix the bug on copying bssid

This patch reverts the commit, 114dba59d7b3c7e9ede5a9e283e4b974ff9a879b.

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