]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
hostap: fix "hostap: proc: Use remove_proc_subtree()"
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Wed, 12 Feb 2014 22:38:17 +0000 (22:38 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Feb 2014 19:58:12 +0000 (14:58 -0500)
commit4885c8731a34eecf509822e089ce17bcd9bd4650
treee500eed19ac2225ca3138e0ab5eae404c703ae79
parentb6213e413a4e0c66548153516b074df14f9d08e0
hostap: fix "hostap: proc: Use remove_proc_subtree()"

remove_proc_subtree() doesn't work here as local->ddev has already
been removed, and NULLed out.  Use proc_remove() instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_proc.c