setup correct int pipe type in ar9170_usb_exec_cmd
authorValentin Longchamp <valentin.longchamp@epfl.ch>
Fri, 26 Mar 2010 10:44:33 +0000 (11:44 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Mar 2010 19:37:35 +0000 (15:37 -0400)
commit2d20c72c021d96f8b9230396c8e3782f204214ec
tree6e08bcfaa6962d2ef74232f8b90d031285c23faa
parent9e76ad2a27f592c1390248867391880c7efe78b3
setup correct int pipe type in ar9170_usb_exec_cmd

An int urb is constructed but we fill it in with a bulk pipe type.

Commit f661c6f8c67bd55e93348f160d590ff9edf08904 implemented a pipe type
check when CONFIG_USB_DEBUG is enabled. The check failed for all the ar9170
usb transfers and the driver could not configure the wifi dongle.

This went unnoticed until now because most people don't have
CONFIG_USB_DEBUG enabled.

Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
Cc: Stable <stable@kernel.org>
Acked-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ar9170/usb.c