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 18:18:26 +0000 (11:18 -0700)
commitc7e592387547f09a0e25a698f9295edec03971d8
tree0bfc82f0466579492f0b9d0ecda6f76bb69f5e4e
parent48e805c8a9abd72f9990c8a1778e28a42156a82e
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