On Thu, 2009-03-26 at 23:18 -0700, Helmut Schaa wrote: > Hi again, > > Am Donnerstag, 26. März 2009 schrieb Reinette Chatre: > > Remove STATUS_ALIVE checking when HW RF KILL disabled, the bit get > > clear in __iwl_down() function; the additional checking will fail and > > cause RF can not be turn back on. > > Maybe just checking for is_open instead of STATUS_ALIVE will fix the issue > too? I only had a quick look but it looks possible. AFAICS is_open indicates > if the interface was taken up by mac80211. So if the interface is up but > STATUS_ALIVE is not set we want to restart the adapter after unkilling but > if the interface is still down (is_open==0) we do not want to restart the > adapter. Furthermore, is_open is also set in case the interface was taken > up but wireless was rfkilled. Very good idea ... I'm looking into this. Reinette -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html