mac80211: support more than one band in scan request
[linux-2.6-block.git] / drivers / net / wireless / iwlwifi / mvm / mac80211.c
index 7215f59801863d3b7d72398de8c96c7b73c3902b..4dc2e05f49ce840aa7735efe7ccee8ffd753b7c8 100644 (file)
@@ -1537,9 +1537,10 @@ static void iwl_mvm_bss_info_changed(struct ieee80211_hw *hw,
 
 static int iwl_mvm_mac_hw_scan(struct ieee80211_hw *hw,
                               struct ieee80211_vif *vif,
-                              struct cfg80211_scan_request *req)
+                              struct ieee80211_scan_request *hw_req)
 {
        struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw);
+       struct cfg80211_scan_request *req = &hw_req->req;
        int ret;
 
        if (req->n_channels == 0 || req->n_channels > MAX_NUM_SCAN_CHANNELS)