aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/winbond
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-01-05 10:46:00 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:51:52 -0800
commitf02466fc19f77fc47a0573d5c246b3333e076894 (patch)
treea68ec0f22d3c15c565e381fec230d658bc57a71d /drivers/staging/winbond
parent310d465d8365dbb1258b972c8a7c35f8d9dc68a3 (diff)
Staging: w35und: fix config build warnings
the wireless config function has changed with commit e8975581f63870be42ff4662b293d1b0c8c21350 so fix up the wbusb driver to work properly with that change. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond')
-rw-r--r--drivers/staging/winbond/wbusb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/winbond/wbusb.c b/drivers/staging/winbond/wbusb.c
index cb4dee566f7..b003f9a7e15 100644
--- a/drivers/staging/winbond/wbusb.c
+++ b/drivers/staging/winbond/wbusb.c
@@ -134,11 +134,12 @@ static int wbsoft_start(struct ieee80211_hw *dev)
return 0;
}
-static int wbsoft_config(struct ieee80211_hw *dev, struct ieee80211_conf *conf)
+static int wbsoft_config(struct ieee80211_hw *dev, u32 changed)
{
struct wbsoft_priv *priv = dev->priv;
-
+ struct ieee80211_conf *conf = &dev->conf;
ChanInfo ch;
+
printk("wbsoft_config called\n");
ch.band = 1;