[PATCH] bcm43xx: Fix bug in frequency to channel conversion
authorJoerg Sommer <joerg@alea.gnuu.de>
Fri, 2 Mar 2007 18:32:06 +0000 (12:32 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Mar 2007 03:13:50 +0000 (22:13 -0500)
commitd632f9fa38203ad5bac31e46921812216693b14f
tree3689936f1b1be4ce3750809155cb5af95e7d7217
parent01a597769c7ef4db979c6a23aa97e5d2e53cbc46
[PATCH] bcm43xx: Fix bug in frequency to channel conversion

The frequency to channel routine in bcm43xx requires that the frequency
be in MHz, but that condition is not always met. This patch does the
necessary conversion.

Signed-off-by: Joerg Sommer <joerg@alea.gnuu.de>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_wx.c