OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b640f2
)
rt2x00: Fix rate initialization
author
Ivo van Doorn
<ivdoorn@gmail.com>
Sun, 3 Feb 2008 14:54:34 +0000
(15:54 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 29 Feb 2008 20:37:00 +0000
(15:37 -0500)
Fix typo in rate initialization. This fixes the WARN_ON()
in net/wireless/util.cpp:83
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2x00dev.c
b/drivers/net/wireless/rt2x00/rt2x00dev.c
index
23dc566
..
d69f740
100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/
drivers/net/wireless/rt2x00/rt2x00dev.c
@@
-876,7
+876,7
@@
static int rt2x00lib_probe_hw_modes(struct rt2x00_dev *rt2x00dev,
* Initialize Rate list.
*/
for (i = 0; i < spec->num_rates; i++)
- rt2x00lib_rate(&rates[
0
], i, rt2x00_get_rate(i));
+ rt2x00lib_rate(&rates[
i
], i, rt2x00_get_rate(i));
/*
* Initialize Channel list.