Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193725
b: refs/heads/master
c: eae4475
h: refs/heads/master
i:
  193723: 07c5410
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Mar 10, 2010
1 parent e237800 commit 1d7165a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 44ac91ea8450b0e7a27b4a1fd64aefd35a144728
refs/heads/master: eae44756d60c4e938259358090dba5df675dced0
2 changes: 1 addition & 1 deletion trunk/net/mac80211/rc80211_minstrel.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ minstrel_free(void *priv)
kfree(priv);
}

static struct rate_control_ops mac80211_minstrel = {
struct rate_control_ops mac80211_minstrel = {
.name = "minstrel",
.tx_status = minstrel_tx_status,
.get_rate = minstrel_get_rate,
Expand Down
6 changes: 6 additions & 0 deletions trunk/net/mac80211/rc80211_minstrel.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,13 @@ struct minstrel_debugfs_info {
char buf[];
};

extern struct rate_control_ops mac80211_minstrel;
void minstrel_add_sta_debugfs(void *priv, void *priv_sta, struct dentry *dir);
void minstrel_remove_sta_debugfs(void *priv, void *priv_sta);

/* debugfs */
int minstrel_stats_open(struct inode *inode, struct file *file);
ssize_t minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos);
int minstrel_stats_release(struct inode *inode, struct file *file);

#endif
6 changes: 3 additions & 3 deletions trunk/net/mac80211/rc80211_minstrel_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#include <net/mac80211.h>
#include "rc80211_minstrel.h"

static int
int
minstrel_stats_open(struct inode *inode, struct file *file)
{
struct minstrel_sta_info *mi = inode->i_private;
Expand Down Expand Up @@ -100,7 +100,7 @@ minstrel_stats_open(struct inode *inode, struct file *file)
return 0;
}

static ssize_t
ssize_t
minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos)
{
struct minstrel_debugfs_info *ms;
Expand All @@ -109,7 +109,7 @@ minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppo
return simple_read_from_buffer(buf, len, ppos, ms->buf, ms->len);
}

static int
int
minstrel_stats_release(struct inode *inode, struct file *file)
{
kfree(file->private_data);
Expand Down

0 comments on commit 1d7165a

Please sign in to comment.