Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325410
b: refs/heads/master
c: 5d5d7c3
h: refs/heads/master
v: v3
  • Loading branch information
Emil Goode authored and Greg Kroah-Hartman committed Sep 19, 2012
1 parent b5f120a commit 9179283
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3d9562a6ed5389cd92deafa3e357e197b1ff136d
refs/heads/master: 5d5d7c3b938d0c365e65180f2b9d6ffad4973cee
7 changes: 5 additions & 2 deletions trunk/drivers/staging/wlan-ng/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ int prism2_get_station(struct wiphy *wiphy, struct net_device *dev,

int prism2_scan(struct wiphy *wiphy, struct cfg80211_scan_request *request)
{
struct net_device *dev = request->wdev->netdev;
struct net_device *dev;
struct prism2_wiphy_private *priv = wiphy_priv(wiphy);
wlandevice_t *wlandev = dev->ml_priv;
wlandevice_t *wlandev;
struct p80211msg_dot11req_scan msg1;
struct p80211msg_dot11req_scan_results msg2;
struct cfg80211_bss *bss;
Expand All @@ -345,6 +345,9 @@ int prism2_scan(struct wiphy *wiphy, struct cfg80211_scan_request *request)
if (!request)
return -EINVAL;

dev = request->wdev->netdev;
wlandev = dev->ml_priv;

if (priv->scan_request && priv->scan_request != request)
return -EBUSY;

Expand Down

0 comments on commit 9179283

Please sign in to comment.