staging: rtl8723au: qos_asm23a(): Don't pass through an invalid priority
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:04:19 +0000 (15:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:12:02 +0000 (13:12 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_xmit.c

index 36830be314d1b1381e9baac0296b59afbf6ab8c3..5b1d35e71c934d69e5f884860df89295ed1a8c63 100644 (file)
@@ -394,6 +394,7 @@ u8 qos_acm23a(u8 acm_mask, u8 priority)
        default:
                DBG_8723A("qos_acm23a(): invalid pattrib->priority: %d!!!\n",
                          priority);
+               change_priority = 0;
                break;
        }