staging: rtl8192e: GetTs Fix invalid TID 7 warning.
authorMalcolm Priestley <tvboxspy@gmail.com>
Thu, 11 May 2017 17:57:46 +0000 (18:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 13:44:46 +0000 (15:44 +0200)
commit58e36d6f7f11815d3be279f58fd44da1203b4aa1
tree1e08c457ada276fb52dac82b0dd8bd16d687ee23
parent93a46fe4eb41e7fa575b9b995659af52c2241868
staging: rtl8192e: GetTs Fix invalid TID 7 warning.

commit 95d93e271d920dfda369d4740b1cc1061d41fe7f upstream.

TID 7 is a valid value for QoS IEEE 802.11e.

The switch statement that follows states 7 is valid.

Remove function IsACValid and use the default case to filter
invalid TIDs.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_TSProc.c