cfg80211: fix debugfs error handling
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 8 Oct 2008 08:23:48 +0000 (10:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Oct 2008 00:48:25 +0000 (20:48 -0400)
commit33c0360bf74d5fded34cb08d3512ada32ad661e4
treec98eeeede4a08d4331c4cb1bac044c249ac6bcc5
parentc74e90a9e37c4a3923905189a6ebbd7ef61e6e67
cfg80211: fix debugfs error handling

If something goes wrong creating the debugfs dir or when
debugfs is not compiled in, the current code might lead to
trouble; make it more robust.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/core.c