Search Linux Wireless

[PATCH] adm8211: fix cfg80211 band API conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Insert a missing band assignment.

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
---
Please test and if it works reply with Tested-by (like my Signed-off-by)
so John can note that to merge it.

 drivers/net/wireless/adm8211.c |    2 ++
 1 file changed, 2 insertions(+)

--- everything.orig/drivers/net/wireless/adm8211.c	2008-02-25 11:08:45.000000000 +0100
+++ everything/drivers/net/wireless/adm8211.c	2008-02-25 11:09:53.000000000 +0100
@@ -1932,6 +1932,8 @@ static int __devinit adm8211_probe(struc
 
 	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",


-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux