aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-11-02 10:30:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-02 11:58:22 +0100
commitd96e8c10f81f0ecbaa3c3bd70c0c76a18ae15a7e (patch)
treebbc65537e9c355219207380456c9869141cde0fc /drivers/staging/rtl8188eu
parentstaging: rtl8188eu: Revert part of "staging: rtl8188eu: fix comments with lines over 80 characters" (diff)
downloadlinux-dev-d96e8c10f81f0ecbaa3c3bd70c0c76a18ae15a7e.tar.xz
linux-dev-d96e8c10f81f0ecbaa3c3bd70c0c76a18ae15a7e.zip
staging: rtl8188eu: Fix bug introduced by convert timers to use timer_setup()
Commit b7749656e946 ("staging: rtl8188eu: Convert timers to use timer_setup()") introduces a copy and paste error which causes the rtl8188eu driver to no longer function. This commit fixes this. Fixes: b7749656e946 ("staging: rtl8188eu: Convert timers to use timer_setup()") Cc: Kees Cook <keescook@chromium.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_mlme_ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
index d717046a6c2f..d73e9bdc80cc 100644
--- a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
@@ -4806,7 +4806,7 @@ void linked_status_chk(struct adapter *padapter)
void survey_timer_hdl(struct timer_list *t)
{
struct adapter *padapter = from_timer(padapter, t,
- mlmeextpriv.link_timer);
+ mlmeextpriv.survey_timer);
struct cmd_obj *ph2c;
struct sitesurvey_parm *psurveyPara;
struct cmd_priv *pcmdpriv = &padapter->cmdpriv;