]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6656: s_nsBulkOutIoCompleteWrite fix bug of 5GHZ a rates idx
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 29 Jun 2014 19:39:55 +0000 (20:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 23:02:41 +0000 (16:02 -0700)
commitee81e090e064eca8cb0e3e445213365fa3cb467e
tree54d0cb863154d071cfbf4711bb64764cda1510ed
parenta9a9aa6fcf342a90675481272e09aeca6c5ff87f
staging: vt6656: s_nsBulkOutIoCompleteWrite fix bug of 5GHZ a rates idx

On 2GHz band the values of wCurrentRate match the idx rates.

However, on 5GHz they do not because in channel.c vnt_rates_a do not
match idx.

Instead use the info->control.rates[0].idx the value that was tried.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/usbpipe.c