]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8a14fe9400c8162a41bb61966110efacbf09f1a9
treebf2bd807d9741934872f2f87c24ddefa4095c6bb
parentb6bea7d4dd529a873ae60383f98ead47721f812c
[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