Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315525
b: refs/heads/master
c: 56af8f9
h: refs/heads/master
i:
  315523: 7e07ea0
v: v3
  • Loading branch information
Vladimir Kondratiev authored and Johannes Berg committed Jul 8, 2012
1 parent a9690a6 commit 2d141d2
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 2f7916f8d6761e039a117ff560a85a20edb796de
refs/heads/master: 56af8f9af99223610f0582594bd4ac0a0320eb71
5 changes: 3 additions & 2 deletions trunk/net/wireless/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -774,8 +774,9 @@ void cfg80211_update_iface_num(struct cfg80211_registered_device *rdev,

has_monitors_only_new = cfg80211_has_monitors_only(rdev);
if (has_monitors_only_new != has_monitors_only_old) {
rdev->ops->set_monitor_enabled(&rdev->wiphy,
has_monitors_only_new);
if (rdev->ops->set_monitor_enabled)
rdev->ops->set_monitor_enabled(&rdev->wiphy,
has_monitors_only_new);

if (!has_monitors_only_new) {
rdev->monitor_channel = NULL;
Expand Down

0 comments on commit 2d141d2

Please sign in to comment.