diff options
author | Christian Lamparter <chunkeey@web.de> | 2009-06-19 23:10:24 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 15:01:57 -0400 |
commit | 92179986ba5221a21e0f8a1e9b7b82a2883fef79 (patch) | |
tree | d39ea6fc79ab40efd5e2be7ec3996da7161b3527 /drivers | |
parent | 2c2f3b33888419fb9e7d015b9dc67b9db4437efa (diff) |
ar9170usb: module link in sysfs
Andrey Yurovsky reported that the driver forwarded erroneously the
parent device structure instead of the real thing, which of course
led to some dodgy sysfs links (at least?).
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ar9170/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ar9170/usb.c b/drivers/net/wireless/ath/ar9170/usb.c index 754b1f8d8da9..1aec7afdffa7 100644 --- a/drivers/net/wireless/ath/ar9170/usb.c +++ b/drivers/net/wireless/ath/ar9170/usb.c | |||
@@ -779,7 +779,7 @@ static int ar9170_usb_probe(struct usb_interface *intf, | |||
779 | aru->req_one_stage_fw = ar9170_requires_one_stage(id); | 779 | aru->req_one_stage_fw = ar9170_requires_one_stage(id); |
780 | 780 | ||
781 | usb_set_intfdata(intf, aru); | 781 | usb_set_intfdata(intf, aru); |
782 | SET_IEEE80211_DEV(ar->hw, &udev->dev); | 782 | SET_IEEE80211_DEV(ar->hw, &intf->dev); |
783 | 783 | ||
784 | init_usb_anchor(&aru->rx_submitted); | 784 | init_usb_anchor(&aru->rx_submitted); |
785 | init_usb_anchor(&aru->tx_pending); | 785 | init_usb_anchor(&aru->tx_pending); |