diff options
Diffstat (limited to 'net/mac80211/debugfs_sta.c')
| -rw-r--r-- | net/mac80211/debugfs_sta.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c index 6d45804d09b..832b2da5e4c 100644 --- a/net/mac80211/debugfs_sta.c +++ b/net/mac80211/debugfs_sta.c @@ -33,7 +33,7 @@ static ssize_t sta_ ##name## _read(struct file *file,			\  #define STA_OPS(name)							\  static const struct file_operations sta_ ##name## _ops = {		\  	.read = sta_##name##_read,					\ -	.open = mac80211_open_file_generic,				\ +	.open = simple_open,						\  	.llseek = generic_file_llseek,					\  } @@ -41,7 +41,7 @@ static const struct file_operations sta_ ##name## _ops = {		\  static const struct file_operations sta_ ##name## _ops = {		\  	.read = sta_##name##_read,					\  	.write = sta_##name##_write,					\ -	.open = mac80211_open_file_generic,				\ +	.open = simple_open,						\  	.llseek = generic_file_llseek,					\  }  |