[PATCH] ipw2200: Fix rf_kill is activated after mode change with 'disable=1'
authorZhu Yi <yi.zhu@intel.com>
Thu, 16 Feb 2006 08:21:09 +0000 (16:21 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 17 Mar 2006 20:08:03 +0000 (15:08 -0500)
commitd6d5b5c13e5003c9d33dcdcfdf1febc6efd7d319
treed7de88aace32d5be27afcae756c94187fd9f53b2
parent8da374fc44a5e0fb71a485497cae38eb562d078c
[PATCH] ipw2200: Fix rf_kill is activated after mode change with 'disable=1'

When loading the ipw2200 module with disabled=1, rf_kill is activated after
every mode change. This is caused by ipw_sw_reset() is called when a mode
is changed. The patch fixed the problem by distinguishing the purposes with
the 'option' paramenter.

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