mac80211: don't check netdev state for debugfs read/write

commit 923eaf3672 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>
This commit is contained in:
Arik Nemtsov 2014-05-26 14:40:51 +03:00 • committed by Greg Kroah-Hartman
commit 1c95722fa8