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>
Mon, 15 May 2017 09:48:45 +0000 (11:48 +0200)
commit95d93e271d920dfda369d4740b1cc1061d41fe7f
tree8ded24ca02b9636b9e48ba3a048c9a9367386192
parent90be652c9f157d44b9c2803f902a8839796c090d
staging: rtl8192e: GetTs Fix invalid TID 7 warning.

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_TSProc.c