From: Johannes Berg Date: Mon, 25 Feb 2008 10:12:18 +0000 (+0100) Subject: adm8211: fix cfg80211 band API conversion X-Git-Tag: v2.6.26-rc1~1138^2~530^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9a89c839f79395426b84cf6da9d56773402b4c0e;p=linux-2.6-omap-h63xx.git adm8211: fix cfg80211 band API conversion Insert a missing band assignment. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/adm8211.c b/drivers/net/wireless/adm8211.c index a1303ae03b0..2e257ee2783 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, 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",