]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: r8712u: Fix regression caused by commit 8c213fa
authorLarry Finger <Larry.Finger@lwfinger.net>
Sun, 26 Feb 2012 00:10:21 +0000 (18:10 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Apr 2012 17:16:44 +0000 (10:16 -0700)
commit7ad1f0d2118c32d49357dc9c4f508aa9ed75ff49
tree6478886cc04e5d6bb0d5813d05f27670017eee85
parenta153976d9cdfde28e1552220794c511d7280d7df
staging: r8712u: Fix regression caused by commit 8c213fa

commit 2080913e017ab9f88379d93fd09546ad95faf87b upstream.

In commit 8c213fa "staging: r8712u: Use asynchronous firmware loading",
the command to release the firmware was placed in the wrong routine.

In combination with the bug introduced in commit a5ee652 "staging: r8712u:
Interface-state not fully tracked", the driver attempts to upload firmware
that had already been released. This bug is the source of one of the
problems in https://bugs.archlinux.org/task/27996#comment89833.

Tested-by: Alberto Lago Ballesteros <saniukeokusainaya@gmail.com>
Tested-by: Adrian <agib@gmx.de>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/os_intfs.c
drivers/staging/rtl8712/usb_intf.c