aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwmc3200wifi/cfg80211.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/cfg80211.c')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/cfg80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/cfg80211.c b/drivers/net/wireless/iwmc3200wifi/cfg80211.c
index 48e8218fd23b..523dd646f052 100644
--- a/drivers/net/wireless/iwmc3200wifi/cfg80211.c
+++ b/drivers/net/wireless/iwmc3200wifi/cfg80211.c
@@ -353,9 +353,10 @@ static int iwm_cfg80211_change_iface(struct wiphy *wiphy,
353 return 0; 353 return 0;
354} 354}
355 355
356static int iwm_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev, 356static int iwm_cfg80211_scan(struct wiphy *wiphy,
357 struct cfg80211_scan_request *request) 357 struct cfg80211_scan_request *request)
358{ 358{
359 struct net_device *ndev = request->wdev->netdev;
359 struct iwm_priv *iwm = ndev_to_iwm(ndev); 360 struct iwm_priv *iwm = ndev_to_iwm(ndev);
360 int ret; 361 int ret;
361 362