Commit 9a89c839 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville

adm8211: fix cfg80211 band API conversion

Insert a missing band assignment.
Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 8f300ae5
...@@ -1932,6 +1932,8 @@ static int __devinit adm8211_probe(struct pci_dev *pdev, ...@@ -1932,6 +1932,8 @@ static int __devinit adm8211_probe(struct pci_dev *pdev,
priv->channel = 1; priv->channel = 1;
dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band;
err = ieee80211_register_hw(dev); err = ieee80211_register_hw(dev);
if (err) { if (err) {
printk(KERN_ERR "%s (adm8211): Cannot register device\n", printk(KERN_ERR "%s (adm8211): Cannot register device\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment