From: Johannes Berg Date: Fri, 19 Apr 2013 10:19:39 +0000 (+0200) Subject: cfg80211: invert P2P-Device vs. netdev check ordering X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~43^2^2~61^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e3ab5543bed9dffb7d1a6404c3782284a432a70;p=pandora-kernel.git cfg80211: invert P2P-Device vs. netdev check ordering 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 --- Reading git-diff-tree failed