Skip to content

Commit

Permalink
adm8211: fix cfg80211 band API conversion
Browse files Browse the repository at this point in the history
Insert a missing band assignment.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Feb 29, 2008
1 parent 8f300ae commit 9a89c83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/adm8211.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9a89c83

Please sign in to comment.