OSDN Git Service

rtlwifi: rtl8821ae: Fix errors in parameter initialization
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 14 Dec 2015 22:34:33 +0000 (16:34 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Dec 2015 15:06:33 +0000 (17:06 +0200)
commit78bae1de422a7f6f2b4b61f6a5c379e3d7f96f44
tree1d8ccf732f799f9121bdedc92b2a2ff7488de55f
parent793b09994211fbe0b5cd5f7b6dd8cc9b6256c3c6
rtlwifi: rtl8821ae: Fix errors in parameter initialization

This driver failed to copy parameters sw_crypto and disable_watchdog into
the locations actually used by the driver. In addition, msi_support was
initialized three times and one of them used the wrong variable. The
initialization of parameter int_clear was moved so that it is near that
of the rest of the parameters.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c