ath6kl: Return error case when ath6kl_usb_alloc_pipe_resources fails
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Thu, 27 Sep 2012 12:49:49 +0000 (18:19 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 24 Oct 2012 08:49:56 +0000 (11:49 +0300)
commit5dbdf6feecad54b739cb7a5cff521fba86cabba5
treeeb013cbac3f03b8ea22edcae6b56ad93841c747b
parentcf0dfa1330495ae2c3757788224cc043cfb17e77
ath6kl: Return error case when ath6kl_usb_alloc_pipe_resources fails

Incase the resource allocation for the struct ath6kl_urb_context in the
function ath6kl_usb_alloc_pipe_resources fails, return this error
case so that ath6kl_usb_probe is aware of this error case.

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/usb.c