projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
643c61e
)
net/wireless: ipw2x00: fix a typo in wiphy struct initilization
author
Stanislav Yakovlev
<
[email protected]
>
Tue, 20 Mar 2012 21:52:57 +0000
(17:52 -0400)
committer
John W. Linville
<
[email protected]
>
Wed, 28 Mar 2012 18:25:34 +0000
(14:25 -0400)
Fix comment as well.
Signed-off-by: Stanislav Yakovlev <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ipw2x00/ipw2200.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ipw2x00/ipw2200.c
b/drivers/net/wireless/ipw2x00/ipw2200.c
index 4fcdac63a3007aff3822e8dd17ccd5db57ce69a6..2b022571a8595a5dd41c89bdd515d0f1fd0dc70b 100644
(file)
--- a/
drivers/net/wireless/ipw2x00/ipw2200.c
+++ b/
drivers/net/wireless/ipw2x00/ipw2200.c
@@
-11507,9
+11507,9
@@
static int ipw_wdev_init(struct net_device *dev)
rc = -ENOMEM;
goto out;
}
- /* translate geo->
bg
to a_band.channels */
+ /* translate geo->
a
to a_band.channels */
for (i = 0; i < geo->a_channels; i++) {
- a_band->channels[i].band = IEEE80211_BAND_
2
GHZ;
+ a_band->channels[i].band = IEEE80211_BAND_
5
GHZ;
a_band->channels[i].center_freq = geo->a[i].freq;
a_band->channels[i].hw_value = geo->a[i].channel;
a_band->channels[i].max_power = geo->a[i].max_power;