mac80211: don't check netdev state for debugfs read/write
authorArik Nemtsov <arik@wizery.com>
Mon, 26 May 2014 11:40:51 +0000 (14:40 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 17:51:20 +0000 (10:51 -0700)
commitdc0bfd69158e4eb64d8ca75ed382b5215f3461c1
treecd951aefb64aaa50c576fb8310470c9dca827ec3
parenteb688f6a4b6090dbcdccc935cf074618c0f421c1
mac80211: don't check netdev state for debugfs read/write

commit 923eaf367206e01f22c97aee22300e332d071916 upstream.

Doing so will lead to an oops for a p2p-dev interface, since it has
no netdev.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/debugfs_netdev.c