1. 04 Jun, 2009 1 commit
  2. 03 Jun, 2009 4 commits
    • Johannes Berg's avatar
      rfkill: rewrite · 19d337df
      Johannes Berg authored
      This patch completely rewrites the rfkill core to address
      the following deficiencies:
       * all rfkill drivers need to implement polling where necessary
         rather than having one central implementation
       * updating the rfkill state cannot be done from arbitrary
         contexts, forcing drivers to use schedule_work and requiring
         lots of code
       * rfkill drivers need to keep track of soft/hard blocked
         internally -- the core should do this
       * the rfkill API has many unexpected quirks, for example being
         asymmetric wrt. alloc/free and register/unregister
       * rfkill can call back into a driver from within a function the
         driver called -- this is prone to deadlocks and generally
         should be avoided
       * rfkill-input pointlessly is a separate module
       * drivers need to #ifdef rfkill functions (unless they want to
         depend on or select RFKILL) -- rfkill should provide inlines
         that do nothing if it isn't compiled in
       * the rfkill structure is not opaque -- drivers need to initialise
         it correctly (lots of sanity checking code required) -- instead
         force drivers to pass the right variables to rfkill_alloc()
       * the documentation is hard to read because it always assumes the
         reader is completely clueless and contains way TOO MANY CAPS
       * the rfkill code needlessly uses a lot of locks and atomic
         operations in locked sections
       * fix LED trigger to actually change the LED when the radio state
         changes -- this wasn't done before
      Tested-by: default avatarAlan Jenkins <alan-jenkins@tuffmail.co.uk>
      Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> [thinkpad]
      Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    • Rami Rosen's avatar
      iwlwifi: avoid build warning in iwl-core. · d651ae32
      Rami Rosen authored
      When building when CONFIG_IWLWIFI_DEBUG is not set, we get the following
      /work/src/w/drivers/net/wireless/iwlwifi/iwl-core.c: In function ‘iwl_isr’:
      /work/src/w/drivers/net/wireless/iwlwifi/iwl-core.c:1707: warning:
      unused variable ‘inta_fh’
      This patch avoids this warning by adding #ifdef CONFIG_IWLWIFI_DEBUG
      before the declaration of inta_fh in iwl_isr() in
      Signed-off-by: default avatarRami Rosen <ramirose@gmail.com>
      Acked-by: default avatarReinette Chatre <reinette.chatre@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    • Reinette Chatre's avatar
      iwlwifi: fix otp access init · d77b034f
      Reinette Chatre authored
      Polling function returns positive time if polling was needed to
      read value. This is still success.
      Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
      CC: Wey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    • Reinette Chatre's avatar
      iwlwifi: fix merge error · df29ff37
      Reinette Chatre authored
      This hunk of code was removed in patch "iwlwifi: do not
      cancel delayed work inside spin_lock_irqsave" submitted at
      This same patch in this repo does not remove this hunk.
      Remove it here.
      Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
  3. 22 May, 2009 13 commits
  4. 20 May, 2009 6 commits
  5. 11 May, 2009 13 commits
  6. 06 May, 2009 3 commits