Bluetooth: Fix l2cap conn failures for ssp devices
[profile/ivi/kernel-adaptation-intel-automotive.git] / net / wireless / debugfs.c
index a4991a3..39765bc 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)                                              \