staging: rtl8188eu: Fix bug introduced by convert timers to use timer_setup()
authorHans de Goede <hdegoede@redhat.com>
Thu, 2 Nov 2017 09:30:12 +0000 (10:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Nov 2017 10:58:22 +0000 (11:58 +0100)
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>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c

index d717046a6c2f4e519461cde4e773105ed19d4e0e..d73e9bdc80cc28c80382181016ef1ca375f0279f 100644 (file)
@@ -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;