]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/net/wireless/ipw2200.c
[PATCH] ipw2200: Filter unsupported channels out in ad-hoc mode
authorZhu Yi <yi.zhu@intel.com>
Wed, 1 Mar 2006 21:55:51 +0000 (05:55 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 17 Mar 2006 20:08:03 +0000 (15:08 -0500)
commite815de422c1dc2fe787c6f3edba81f3cf0176e32
treebf2bd807d9741934872f2f87c24ddefa4095c6bb
parente8c69e27d14a5fb15df9967f8c8ec5978af33ba8
[PATCH] ipw2200: Filter unsupported channels out in ad-hoc mode

Currently iwlist ethX freq[uency]/channel lists all the channels the card
supported for the current region, which includes some channels can only
be used in infrastructure mode. This patch filters these channels out if
the card is currently in ad-hoc mode.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2200.c