brcmfmac: dont use ZERO flag for usb IN
authorHante Meuleman <meuleman@broadcom.com>
Thu, 30 Aug 2012 08:05:35 +0000 (10:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 5 Sep 2012 18:53:34 +0000 (14:53 -0400)
commit474ab7cea4001f07ec8599a680fd19d8761fa7d8
treebf963a34ea59a46f33983e2b3b62e36428c61b37
parent01e3331b30b48fe96d016435707af050700c8421
brcmfmac: dont use ZERO flag for usb IN

URB_ZERO_PACKET should only be set or bulk OUT and this condition
is checked with a WARN_ON in usb_submit_urb(). This patch fixes
brcmfmac to get rid of this warning filling the logs.

Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/usb.c