diff options
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/usb.c')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/usb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/carl9170/usb.c b/drivers/net/wireless/ath/carl9170/usb.c index a268053e18e..2d947a30d29 100644 --- a/drivers/net/wireless/ath/carl9170/usb.c +++ b/drivers/net/wireless/ath/carl9170/usb.c | |||
@@ -160,8 +160,7 @@ err_acc: | |||
160 | 160 | ||
161 | static void carl9170_usb_tx_data_complete(struct urb *urb) | 161 | static void carl9170_usb_tx_data_complete(struct urb *urb) |
162 | { | 162 | { |
163 | struct ar9170 *ar = (struct ar9170 *) | 163 | struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); |
164 | usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); | ||
165 | 164 | ||
166 | if (WARN_ON_ONCE(!ar)) { | 165 | if (WARN_ON_ONCE(!ar)) { |
167 | dev_kfree_skb_irq(urb->context); | 166 | dev_kfree_skb_irq(urb->context); |