cfg80211: invert P2P-Device vs. netdev check ordering
authorJohannes Berg <johannes.berg@intel.com>
Fri, 19 Apr 2013 10:19:39 +0000 (12:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 22 Apr 2013 13:31:55 +0000 (15:31 +0200)
In cfg80211_can_use_iftype_chan(), check for P2P Device
first, and then for netdevs. This doesn't really change
anything but makes the code a bit easier to read since
it may not be obvious for everyone at first that a P2P
device has no netdev.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found