summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-04-19 12:19:39 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-04-22 15:31:55 +0200
commit6e3ab5543bed9dffb7d1a6404c3782284a432a70 (patch)
treef73527aa65211a39c2cf1d0bf53dd2ed08261e00 /net/mac80211
parent65e8d5b8cbff766628dad7d366986676f18b1e89 (diff)
downloadblackbird-op-linux-6e3ab5543bed9dffb7d1a6404c3782284a432a70.tar.gz
blackbird-op-linux-6e3ab5543bed9dffb7d1a6404c3782284a432a70.zip
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 <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud