diff options
author | Pavel Machek <pavel@suse.cz> | 2009-01-30 04:05:25 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-27 15:56:24 -0500 |
commit | 05e361cae5e633c2b58967d1444cf6ae56662e5c (patch) | |
tree | 3a6e7b557a84fe3083a431f956fd2558020f8e77 /drivers | |
parent | 5789813e73220a0bfd85a44bc565a6ae624e8745 (diff) |
Staging: w35und: fix registration with wlan stack
Initialize few more fields in wireless device structure so that
wireless core actually accepts our registration.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/winbond/wbusb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/winbond/wbusb.c b/drivers/staging/winbond/wbusb.c index b003f9a7e151..49f1bf0acfb0 100644 --- a/drivers/staging/winbond/wbusb.c +++ b/drivers/staging/winbond/wbusb.c | |||
@@ -369,9 +369,11 @@ static int wb35_probe(struct usb_interface *intf, const struct usb_device_id *id | |||
369 | } | 369 | } |
370 | 370 | ||
371 | dev->extra_tx_headroom = 12; /* FIXME */ | 371 | dev->extra_tx_headroom = 12; /* FIXME */ |
372 | dev->flags = 0; | 372 | dev->flags = IEEE80211_HW_SIGNAL_UNSPEC; |
373 | dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); | ||
373 | 374 | ||
374 | dev->channel_change_time = 1000; | 375 | dev->channel_change_time = 1000; |
376 | dev->max_signal = 100; | ||
375 | dev->queues = 1; | 377 | dev->queues = 1; |
376 | 378 | ||
377 | dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &wbsoft_band_2GHz; | 379 | dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &wbsoft_band_2GHz; |