Skip to content

Commit

Permalink
ar9170usb: module link in sysfs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Jul 10, 2009
1 parent 2c2f3b3 commit 9217998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/ar9170/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ static int ar9170_usb_probe(struct usb_interface *intf,
aru->req_one_stage_fw = ar9170_requires_one_stage(id);

usb_set_intfdata(intf, aru);
SET_IEEE80211_DEV(ar->hw, &udev->dev);
SET_IEEE80211_DEV(ar->hw, &intf->dev);

init_usb_anchor(&aru->rx_submitted);
init_usb_anchor(&aru->tx_pending);
Expand Down

0 comments on commit 9217998

Please sign in to comment.