]> err.no Git - linux-2.6/commit
[PATCH] ipw2100: Fix setting txpower failed problem
authorZhu Yi <yi.zhu@intel.com>
Tue, 24 Jan 2006 05:49:32 +0000 (13:49 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 30 Jan 2006 22:41:35 +0000 (17:41 -0500)
commitb6e4da72342cb075a2742c79e693c8edc1d55389
treec21c089c15328273ceb350ea0d71c928e4c0277f
parent3c5eca542d19cd50e9a028dc32897cd698dcc33e
[PATCH] ipw2100: Fix setting txpower failed problem

The ipw2100 driver misunderstood the parameter of txpower.
Tx Power off means turn off the radio, but the driver interpret it as
"can't set txpower". So when getting the txpower, it sets disabled=1 to
the iwconifg tool in managed mode. And the tool will display "Tx Power off"
when disabled=1.

Now, in managed mode, iwconfig will not show "TX Power" if the radio is not
switched off. It will only display "Tx Power off" only if the radio is killed.

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