diff options
author | Masakazu Mokuno <mokuno@sm.sony.co.jp> | 2008-05-14 09:16:50 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-17 01:15:10 +0400 |
commit | 229ce3abb6d6d4598de8ef1ed1e2da8163a9bbc0 (patch) | |
tree | 0a9b4f4d41aeafb06bb1177299f28ff7dea613a4 /drivers/net/wireless/libertas/main.c | |
parent | b7acbdfbd1f277c1eb23f344f899cfa4cd0bf36a (diff) | |
download | linux-229ce3abb6d6d4598de8ef1ed1e2da8163a9bbc0.tar.xz |
wireless: Create 'device' symlink in sysfs
Some network interfaces of the wireless drivers lack the 'device'
symlink in sysfs.
This patch lets the drivers create the links.
Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index bb08f0b86c6b..e1f066068590 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c @@ -1565,6 +1565,7 @@ static int lbs_add_rtap(struct lbs_private *priv) rtap_dev->hard_start_xmit = lbs_rtap_hard_start_xmit; rtap_dev->set_multicast_list = lbs_set_multicast_list; rtap_dev->priv = priv; + SET_NETDEV_DEV(rtap_dev, priv->dev->dev.parent); ret = register_netdev(rtap_dev); if (ret) { |