staging: rtl8723au: qos_asm23a(): Don't pass through an invalid priority

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jes Sorensen 2014-05-09 15:04:19 +02:00 committed by Greg Kroah-Hartman
parent c06209d948
commit 7855848ecd

View 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;
}