OSDN Git Service

staging:rtl8192e: Usage count off by one
authorSean MacLennan <seanm@seanm.ca>
Mon, 16 Nov 2015 00:51:43 +0000 (19:51 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 04:01:45 +0000 (20:01 -0800)
commit0bd35534933feceb7afb383ce7947f2841132c99
tree10c6441bb35a9a8af525151c3bb97629a06f1b1c
parentf52e240816cb268a11fee011aa9b7dc4185d9ded
staging:rtl8192e: Usage count off by one

The rtllib driver is not calling try_module_get() when loading the
encryption modules. Because of this, you can never remove the module
once you have used it one (i.e. bring up the wireless interface).

Signed-off-by: Sean MacLennan <seanm@seanm.ca>
Tested-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_softmac.c
drivers/staging/rtl8192e/rtllib_wx.c