]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ipw2200: ipw_wx_set_essid fix
authorZhu Yi <yi.zhu@intel.com>
Mon, 21 Aug 2006 03:37:13 +0000 (11:37 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 Aug 2006 21:06:31 +0000 (17:06 -0400)
commitab644b0b51bf3170b398c087b7a34be6d3c7b7ba
tree00dc1725331833e7f7d04aab9e855803500d4634
parentc580f67fd7fa9deee1f4cf6b86c694b880534a82
[PATCH] ipw2200: ipw_wx_set_essid fix

This patch cleanups the ipw_wx_set_essid code and forces a reassociation
when setting the essid to "any". I have tested this patch with iwconfig. It
makes ipw2200 compliant with all the cases mentioned in the iwconfig man
page. The commands

iwconfig iface essid any
iwconfig iface essid -- any
iwconfig iface essid off
iwconfig iface essid on

all seemed to work correctly. None of this worked before the patch.

Note, this patch treats

iwconfig iface essid
iwconfig iface essid ""

The same. It produces an error message: essid: Unknown host.
Since an essid of "" is not mentioned in the iwconfig man page.

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