]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Staging: rtl8187se: wmm_param[1].ac_aci_acm_aifsn tested twice
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 18 May 2009 15:31:36 +0000 (17:31 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:36 +0000 (11:00 -0700)
wmm_param[1].ac_aci_acm_aifsn was tested twice, the second should have been
wmm_param[3].ac_aci_acm_aifsn.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c

index 23519b37538f7600cf9f79659e3a899bf3d61a55..4d4ee563275e912911b3dfa05ea7444f487007b4 100644 (file)
@@ -1680,7 +1680,7 @@ inline void update_network(struct ieee80211_network *dst,
        if(src->wmm_param[0].ac_aci_acm_aifsn|| \
           src->wmm_param[1].ac_aci_acm_aifsn|| \
           src->wmm_param[2].ac_aci_acm_aifsn|| \
-          src->wmm_param[1].ac_aci_acm_aifsn) {
+          src->wmm_param[3].ac_aci_acm_aifsn) {
          memcpy(dst->wmm_param, src->wmm_param, WME_AC_PRAM_LEN);
        }
        dst->QoS_Enable = src->QoS_Enable;