|
@@ -327,9 +327,9 @@ int prism2_get_station(struct wiphy *wiphy, struct net_device *dev,
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
-int prism2_scan(struct wiphy *wiphy, struct net_device *dev,
|
|
|
- struct cfg80211_scan_request *request)
|
|
|
+int prism2_scan(struct wiphy *wiphy, struct cfg80211_scan_request *request)
|
|
|
{
|
|
|
+ struct net_device *dev = request->wdev->netdev;
|
|
|
struct prism2_wiphy_private *priv = wiphy_priv(wiphy);
|
|
|
wlandevice_t *wlandev = dev->ml_priv;
|
|
|
struct p80211msg_dot11req_scan msg1;
|