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)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 28 May 2014 14:22:48 +0000 (16:22 +0200)
commit923eaf367206e01f22c97aee22300e332d071916
treec34ce1d0bbf9b1b31a0a12d9c61a8edb9e962a4f
parent494b6590043b4cd73ceb3f58e1c012a2c6c98d85
mac80211: don't check netdev state for debugfs read/write

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

Cc: stable@vger.kernel.org
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>
net/mac80211/debugfs_netdev.c