Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71268
b: refs/heads/master
c: 58a9ac1
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Oct 17, 2007
1 parent 173d107 commit 7ad3a36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: e797aa1b7da6bfcb2e19a10ae5ead9aa7aea732b
refs/heads/master: 58a9ac17ed7a78958d03f3b4af107f0ef075cbed
5 changes: 4 additions & 1 deletion trunk/net/mac80211/ieee80211_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,12 @@ int ieee80211_set_channel(struct ieee80211_local *local, int channel, int freq)
((chan->chan == channel) || (chan->freq == freq))) {
local->oper_channel = chan;
local->oper_hw_mode = mode;
set++;
set = 1;
break;
}
}
if (set)
break;
}

if (set) {
Expand Down

0 comments on commit 7ad3a36

Please sign in to comment.