mac80211: Do not check for valid hw_queues for P2P_DEVICE
authorIlan Peer <ilan.peer@intel.com>
Tue, 21 Aug 2012 09:43:35 +0000 (12:43 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Sep 2012 12:16:41 +0000 (14:16 +0200)
commit0ef24e528f27683620d78c3393b3df73d804828c
tree72f1ff58ab9a24e9822a60bf6b0d747d4672687d
parentaba4e6fff8de0c92e53f0e7ef077231e75f7d760
mac80211: Do not check for valid hw_queues for P2P_DEVICE

A P2P Device interface does not have a netdev, and is not
expected to be used for transmitting data, so there is no
need to assign hw queues for it.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c