mac80211: fix debugfs netdev rename
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 8 Oct 2008 08:18:36 +0000 (10:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Oct 2008 00:48:00 +0000 (20:48 -0400)
commitc74e90a9e37c4a3923905189a6ebbd7ef61e6e67
treec22f8d8fcf806dc281d5fb69327d11769593116c
parentd5d7c584810b3be2b70c979af3283a1e48b6574d
mac80211: fix debugfs netdev rename

If, for some reason, a netdev has no debugfs dir, we shouldn't
try to rename that dir.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Robin Holt <holt@sgi.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/debugfs_netdev.c