summaryrefslogtreecommitdiff
path: root/drivers/staging/wlan-ng/prism2usb.c
diff options
context:
space:
mode:
authorKarl Relton <karllinuxtest.relton@ntlworld.com>2010-06-03 22:04:06 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-18 22:22:55 (GMT)
commitcb3126e60ffc1b7658a6ff4f6874585098bf9887 (patch)
tree41d38b199cf0c48607d379b36289c6799856bab2 /drivers/staging/wlan-ng/prism2usb.c
parent9c770f3b881c5066ff014968473ffbbafee82247 (diff)
downloadlinux-fsl-qoriq-cb3126e60ffc1b7658a6ff4f6874585098bf9887.tar.xz
Staging: wlan-ng: Switch from wext to cfg80211
Switch driver over from wext to cfg80211 interface. Some Notes: - This patch moves the driver wholesale from wext to cfg80211. Wext support is still provided through the cfg80211 provided wext compatability layer. - Currently only infrastructure mode is implemented. Ad hoc mode is not yet implemented, but can be added. - It does not support connecting to a specified bssid, instead roaming is handled by the card itself. This matches the behaviour of the existing driver. - It has been tested using NetworkManager (via wpa_supplicant) configured to use the wext compatability layer, and then again with the native nl80211 layer. Signed-off-by: Karl Relton <karllinuxtest.relton@ntlworld.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlan-ng/prism2usb.c')
-rw-r--r--drivers/staging/wlan-ng/prism2usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/prism2usb.c b/drivers/staging/wlan-ng/prism2usb.c
index f5cff75..4efa027 100644
--- a/drivers/staging/wlan-ng/prism2usb.c
+++ b/drivers/staging/wlan-ng/prism2usb.c
@@ -119,7 +119,7 @@ static int prism2sta_probe_usb(struct usb_interface *interface,
}
hw = wlandev->priv;
- if (wlan_setup(wlandev) != 0) {
+ if (wlan_setup(wlandev, &(interface->dev)) != 0) {
printk(KERN_ERR "%s: wlan_setup() failed.\n", dev_info);
result = -EIO;
goto failed;