]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nl80211: allow using wdev identifiers to get scan results
authorJohannes Berg <johannes.berg@intel.com>
Thu, 18 Apr 2013 23:02:55 +0000 (01:02 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 18 Apr 2013 23:02:55 +0000 (01:02 +0200)
commit97990a060e6757f48b931a3946b17c1c4362c3fb
tree56a673ad85a06fdca40b9e58c1eff54551b3c529
parent1b737f88dc1b05cf571e96d42f748aaff6df1eb5
nl80211: allow using wdev identifiers to get scan results

Most dump callbacks, including the scan results one, use
the netdev to identify what to do, which is incorrect for
the P2P_DEVICE support, it needs to be able to get the
scan result from the wdev. Change all dumps to unify the
code, but ones other than scan don't really support being
executed on a wdev that has no netdev.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c