From: Johannes Berg <johannes@sipsolutions.net>
To: ptb@inv.it.uc3m.es, John Linville <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org, flamingice@sourmilk.net
Subject: [PATCH] adm8211: fix cfg80211 band API conversion
Date: Mon, 25 Feb 2008 11:12:18 +0100 [thread overview]
Message-ID: <1203934338.13162.63.camel@johannes.berg> (raw)
In-Reply-To: <1203934027.13162.60.camel@johannes.berg> (sfid-20080225_100720_012562_43D37C6F)
Insert a missing band assignment.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
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",
prev parent reply other threads:[~2008-02-25 10:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-24 21:57 ADM8211 Peter T. Breuer
2008-02-25 10:07 ` ADM8211 Johannes Berg
2008-02-25 10:12 ` Johannes Berg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1203934338.13162.63.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=flamingice@sourmilk.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=ptb@inv.it.uc3m.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox