summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_ap.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:13:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:13:20 -0400
commitbc3041f055c228ec8347580d95cb2b344b503dcb (patch)
tree58cac3a7082fab3a1a92f1abbf3858e9d1c161a4 /drivers/net/wireless/hostap/hostap_ap.c
parent9b3a0a6f8ca7bdced15647a1ed5e07d86d58062c (diff)
downloadlinux-bc3041f055c228ec8347580d95cb2b344b503dcb.tar.gz
linux-bc3041f055c228ec8347580d95cb2b344b503dcb.tar.bz2
linux-bc3041f055c228ec8347580d95cb2b344b503dcb.zip
wireless: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_ap.c')
-rw-r--r--drivers/net/wireless/hostap/hostap_ap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/hostap/hostap_ap.c b/drivers/net/wireless/hostap/hostap_ap.c
index 19c45e363aa7..d6033a8e5dea 100644
--- a/drivers/net/wireless/hostap/hostap_ap.c
+++ b/drivers/net/wireless/hostap/hostap_ap.c
@@ -89,7 +89,7 @@ static const struct file_operations ap_debug_proc_fops = {
.open = ap_debug_proc_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release,
+ .release = single_release,
};
#endif /* PRISM2_NO_PROCFS_DEBUG */
@@ -1116,7 +1116,7 @@ static const struct file_operations prism2_sta_proc_fops = {
.open = prism2_sta_proc_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release,
+ .release = single_release,
};
static void handle_add_proc_queue(struct work_struct *work)