mac80211: support more than one band in scan request
[deliverable/linux.git] / drivers / net / wireless / mac80211_hwsim.c
index 06a0722164dac7f8062d6cccaef8f03c6f2663ab..eba51460a5ded4b6456a18b946153c6a310bdb48 100644 (file)
@@ -1736,9 +1736,10 @@ static void hw_scan_work(struct work_struct *work)
 
 static int mac80211_hwsim_hw_scan(struct ieee80211_hw *hw,
                                  struct ieee80211_vif *vif,
-                                 struct cfg80211_scan_request *req)
+                                 struct ieee80211_scan_request *hw_req)
 {
        struct mac80211_hwsim_data *hwsim = hw->priv;
+       struct cfg80211_scan_request *req = &hw_req->req;
 
        mutex_lock(&hwsim->mutex);
        if (WARN_ON(hwsim->tmp_chan || hwsim->hw_scan_request)) {
This page took 0.025013 seconds and 5 git commands to generate.