Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220293
b: refs/heads/master
c: 88b3eaa
h: refs/heads/master
i:
  220291: be47bbc
v: v3
  • Loading branch information
nohee ko authored and Greg Kroah-Hartman committed Oct 12, 2010
1 parent 2c10b68 commit c636b9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 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: 1139df53533e8a4327f3867c6b32202ac62b19ee
refs/heads/master: 88b3eaa499ddbe5a36c34840117563bd54ec4ec2
17 changes: 0 additions & 17 deletions trunk/drivers/staging/brcm80211/util/bcmwifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,22 +176,6 @@ int wf_mhz2channel(uint freq, uint start_factor)
*
* Reference 802.11 REVma, section 17.3.8.3, and 802.11B section 18.4.6.2
*/
#ifdef BRCM_FULLMAC
int wf_channel2mhz(uint ch, uint start_factor)
{
int freq;

if ((start_factor == WF_CHAN_FACTOR_2_4_G && (ch < 1 || ch > 14)) ||
(ch <= 200))
freq = -1;
if ((start_factor == WF_CHAN_FACTOR_2_4_G) && (ch == 14))
freq = 2484;
else
freq = ch * 5 + start_factor / 2;

return freq;
}
#else /* !BRCM_FULLMAC */
int wf_channel2mhz(uint ch, uint start_factor)
{
int freq;
Expand All @@ -206,4 +190,3 @@ int wf_channel2mhz(uint ch, uint start_factor)

return freq;
}
#endif /* BRCM_FULLMAC */

0 comments on commit c636b9a

Please sign in to comment.