cfg80211: refactor nl80211_start_sched_scan so it can be reused
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 10 Nov 2014 14:13:46 +0000 (16:13 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Nov 2014 17:45:42 +0000 (18:45 +0100)
commit256da02d1806c740be97576a5e8548d658858319
tree18eb9845e6f71eeec8b3c6b4e917f66971c3e9f5
parentb6da911b3cf1d342f2f7123c9eb6463d299bca4e
cfg80211: refactor nl80211_start_sched_scan so it can be reused

For net detect, we will need to reuse most of the scheduled scan
parsing function, but not all, so split out the attributes parsing
part out of the main start sched_scan function.

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