mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 15:41:39 +00:00
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>
This commit is contained in:
parent
8f300ae5b8
commit
9a89c839f7
@ -1932,6 +1932,8 @@ static int __devinit adm8211_probe(struct pci_dev *pdev,
|
||||
|
||||
priv->channel = 1;
|
||||
|
||||
dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band;
|
||||
|
||||
err = ieee80211_register_hw(dev);
|
||||
if (err) {
|
||||
printk(KERN_ERR "%s (adm8211): Cannot register device\n",
|
||||
|
Loading…
Reference in New Issue
Block a user