diff options
Diffstat (limited to 'net/mac80211/debugfs_sta.c')
-rw-r--r-- | net/mac80211/debugfs_sta.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c index 50c40ea3cb4d..4601fea1784d 100644 --- a/net/mac80211/debugfs_sta.c +++ b/net/mac80211/debugfs_sta.c | |||
@@ -36,6 +36,7 @@ static ssize_t sta_ ##name## _read(struct file *file, \ | |||
36 | static const struct file_operations sta_ ##name## _ops = { \ | 36 | static const struct file_operations sta_ ##name## _ops = { \ |
37 | .read = sta_##name##_read, \ | 37 | .read = sta_##name##_read, \ |
38 | .open = mac80211_open_file_generic, \ | 38 | .open = mac80211_open_file_generic, \ |
39 | .llseek = generic_file_llseek, \ | ||
39 | } | 40 | } |
40 | 41 | ||
41 | #define STA_OPS_RW(name) \ | 42 | #define STA_OPS_RW(name) \ |
@@ -43,6 +44,7 @@ static const struct file_operations sta_ ##name## _ops = { \ | |||
43 | .read = sta_##name##_read, \ | 44 | .read = sta_##name##_read, \ |
44 | .write = sta_##name##_write, \ | 45 | .write = sta_##name##_write, \ |
45 | .open = mac80211_open_file_generic, \ | 46 | .open = mac80211_open_file_generic, \ |
47 | .llseek = generic_file_llseek, \ | ||
46 | } | 48 | } |
47 | 49 | ||
48 | #define STA_FILE(name, field, format) \ | 50 | #define STA_FILE(name, field, format) \ |