staging: rtl8723au: Use register define REQ_NQOS_SEQ instead of hardcoded value
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 10 Oct 2014 19:41:31 +0000 (21:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:30:14 +0000 (10:30 +0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_sreset.c

index 58ed980..29a29d9 100644 (file)
@@ -107,7 +107,7 @@ static void sreset_restore_network_station(struct rtw_adapter *padapter)
 
        mlmeext_joinbss_event_callback23a(padapter, 1);
        /* restore Sequence No. */
-       rtl8723au_write8(padapter, 0x4dc, padapter->xmitpriv.nqos_ssn);
+       rtl8723au_write8(padapter, REG_NQOS_SEQ, padapter->xmitpriv.nqos_ssn);
 
        sreset_restore_security_station(padapter);
 }