]> Pileus Git - ~andy/linux/blobdiff - net/wireless/debugfs.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[~andy/linux] / net / wireless / debugfs.c
index a4991a3efec0249ac5dea20424628388652072fa..39765bcfb472c7299d0bb45dd0c6dc1627fc283c 100644 (file)
@@ -34,6 +34,7 @@ static ssize_t name## _read(struct file *file, char __user *userbuf,  \
 static const struct file_operations name## _ops = {                    \
        .read = name## _read,                                           \
        .open = cfg80211_open_file_generic,                             \
+       .llseek = generic_file_llseek,                                  \
 };
 
 DEBUGFS_READONLY_FILE(rts_threshold, 20, "%d",
@@ -102,6 +103,7 @@ static ssize_t ht40allow_map_read(struct file *file,
 static const struct file_operations ht40allow_map_ops = {
        .read = ht40allow_map_read,
        .open = cfg80211_open_file_generic,
+       .llseek = default_llseek,
 };
 
 #define DEBUGFS_ADD(name)                                              \