1. 30 Apr, 2011 2 commits
    • Johannes Berg's avatar
      iwlagn: introduce silent grabbing of NIC access · 4119904f
      Johannes Berg authored
      There are a few cases like the WoWLAN support
      I'm writing that require attempting to access
      the NIC when it is known that it might not be
      accessible, e.g. after the system woke up and
      the platform might have reset the device.
      
      To avoid messages in this case, introduce the
      new function iwl_grab_nic_access_silent(), it
      will only return an error status.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
      4119904f
    • Johannes Berg's avatar
      iwlagn: avoid hangs when restarting device · 9d39e5ba
      Johannes Berg authored
      If a device error happens while the uCode is
      being loaded or initialised, we will attempt
      to restart the device (which will likely fail
      again, but that's not the issue here). During
      this new restart, we turn off the device, but
      as the uCode failed to initialise it already
      is turned off. As a consequence, grabbing NIC
      access will fail and cause excessive messages
      and hangs.
      
      To fix this issue, introduce a new status bit
      and only attempt to reprogram the device when
      it isn't already disabled.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
      9d39e5ba
  2. 29 Apr, 2011 20 commits
  3. 28 Apr, 2011 18 commits