Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212980
b: refs/heads/master
c: a0572d9
h: refs/heads/master
v: v3
  • Loading branch information
Arnd Bergmann committed Sep 16, 2010
1 parent 172a2c9 commit 99fa289
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: d9d2e9d5c9eead1f73f92f5fc03424dab90b6c95
refs/heads/master: a0572d93c13d28cc25b2c286ec9378eeb4ddd46c
3 changes: 2 additions & 1 deletion trunk/net/mac80211/rc80211_minstrel_ht_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,15 @@ minstrel_ht_stats_open(struct inode *inode, struct file *file)
MINSTREL_TRUNC(mi->avg_ampdu_len * 10) % 10);
ms->len = p - ms->buf;

return 0;
return nonseekable_open(inode, file);
}

static const struct file_operations minstrel_ht_stat_fops = {
.owner = THIS_MODULE,
.open = minstrel_ht_stats_open,
.read = minstrel_stats_read,
.release = minstrel_stats_release,
.llseek = no_llseek,
};

void
Expand Down

0 comments on commit 99fa289

Please sign in to comment.