[PATCH] Convert bcm43xx-softmac to use the ieee80211_is_valid_channel routine
commitfc8fd3400b716615933a47be453839d190b235bd
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 26 Jun 2006 02:32:21 +0000 (25 21:32 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 5 Jul 2006 17:42:57 +0000 (5 13:42 -0400)
tree816af20b5725ecc7264553ebd901c4209c472d39
parent60d48f1e23c25d09dbe7025ff179b808d72704b3
[PATCH] Convert bcm43xx-softmac to use the ieee80211_is_valid_channel routine

The current version of bcm43xx-softmac uses local routines to check
if a channel is valid. As noted in the comments, these routines do
not take any regulatory information into account. This patch converts
the code to use the equivalent routine in ieee80211, which is being
converted to know about regulatory information.

Signed-Off-By: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_main.h
drivers/net/wireless/bcm43xx/bcm43xx_radio.c
drivers/net/wireless/bcm43xx/bcm43xx_wx.c