diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-02-25 05:12:18 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:41:48 -0500 |
commit | 9a89c839f79395426b84cf6da9d56773402b4c0e (patch) | |
tree | 34f5fe3cf4f7c1276167179f4e19ba317d825b48 /drivers/net/wireless/adm8211.c | |
parent | 8f300ae5b819f7655197925cdb1954edfd906a87 (diff) |
adm8211: fix cfg80211 band API conversion
Insert a missing band assignment.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/adm8211.c')
-rw-r--r-- | drivers/net/wireless/adm8211.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/adm8211.c b/drivers/net/wireless/adm8211.c index a1303ae03b0d..2e257ee2783b 100644 --- a/drivers/net/wireless/adm8211.c +++ b/drivers/net/wireless/adm8211.c | |||
@@ -1932,6 +1932,8 @@ static int __devinit adm8211_probe(struct pci_dev *pdev, | |||
1932 | 1932 | ||
1933 | priv->channel = 1; | 1933 | priv->channel = 1; |
1934 | 1934 | ||
1935 | dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; | ||
1936 | |||
1935 | err = ieee80211_register_hw(dev); | 1937 | err = ieee80211_register_hw(dev); |
1936 | if (err) { | 1938 | if (err) { |
1937 | printk(KERN_ERR "%s (adm8211): Cannot register device\n", | 1939 | printk(KERN_ERR "%s (adm8211): Cannot register device\n", |