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:
d8b105f
)
mac80211: correct warnings in minstrel rate control algorithm
author
John W. Linville
<
[email protected]
>
Wed, 22 Oct 2008 23:41:34 +0000
(19:41 -0400)
committer
John W. Linville
<
[email protected]
>
Mon, 27 Oct 2008 21:46:11 +0000
(17:46 -0400)
Signed-off-by: John W. Linville <
[email protected]
>
net/mac80211/rc80211_minstrel_debugfs.c
patch
|
blob
|
history
diff --git
a/net/mac80211/rc80211_minstrel_debugfs.c
b/net/mac80211/rc80211_minstrel_debugfs.c
index 0b024cd6b8091429838dc5dfe329b865b563a4b9..98f4807080508b183d35b64e82558cce321f3f88 100644
(file)
--- a/
net/mac80211/rc80211_minstrel_debugfs.c
+++ b/
net/mac80211/rc80211_minstrel_debugfs.c
@@
-94,8
+94,8
@@
minstrel_stats_open(struct inode *inode, struct file *file)
prob / 10, prob % 10,
mr->last_success,
mr->last_attempts,
- mr->succ_hist,
- mr->att_hist);
+
(unsigned long long)
mr->succ_hist,
+
(unsigned long long)
mr->att_hist);
}
p += sprintf(p, "\nTotal packet count:: ideal %d "
"lookaround %d\n\n",
@@
-106,7
+106,7
@@
minstrel_stats_open(struct inode *inode, struct file *file)
return 0;
}
-static
in
t
+static
ssize_
t
minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *o)
{
struct minstrel_stats_info *ms;