OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f300ae
)
adm8211: fix cfg80211 band API conversion
author
Johannes Berg
<johannes@sipsolutions.net>
Mon, 25 Feb 2008 10:12:18 +0000
(11:12 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 29 Feb 2008 20:41:48 +0000
(15:41 -0500)
Insert a missing band assignment.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/adm8211.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/adm8211.c
b/drivers/net/wireless/adm8211.c
index
a1303ae
..
2e257ee
100644
(file)
--- 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",