Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315195
b: refs/heads/master
c: 4f03c1e
h: refs/heads/master
i:
  315193: 12c9889
  315191: d2c8f77
v: v3
  • Loading branch information
Michal Kazior authored and Johannes Berg committed Jun 29, 2012
1 parent 562d36a commit 435bbe9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 870d37fc22f3e40f9f23e06c581c8538fc16a2f0
refs/heads/master: 4f03c1ed8901a01ad4abcef95c02c007a2d481c2
2 changes: 2 additions & 0 deletions trunk/net/wireless/chan.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ int cfg80211_set_monitor_channel(struct cfg80211_registered_device *rdev,

if (!rdev->ops->set_monitor_channel)
return -EOPNOTSUPP;
if (!cfg80211_has_monitors_only(rdev))
return -EBUSY;

chan = rdev_freq_to_chan(rdev, freq, chantype);
if (!chan)
Expand Down

0 comments on commit 435bbe9

Please sign in to comment.