commit | 512c044a299f133c8dc86dd5fa6378d745489286 | [log] [tgz] |
---|---|---|
author | Sujith Manoharan <Sujith.Manoharan@atheros.com> | Mon Feb 21 07:50:38 2011 +0530 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Feb 23 16:25:28 2011 -0500 |
tree | 1b51b37995ba5c30551d139ffa2a76b6937bd939 | |
parent | 3e3f1d197f5a432b961fadb35604dba92583945e [diff] |
ath9k_htc: Fix error path in URB allocation ath9k_hif_usb_alloc_urbs() takes care of freeing all the allocated URBs for the various endpoints when an error occurs. Calling ath9k_hif_usb_dealloc_urbs() would cause a panic since the URBs have already been freed. Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>