Skip to content
Snippets Groups Projects
  1. Jul 10, 2009
  2. Jun 15, 2009
  3. Jun 12, 2009
  4. Jun 10, 2009
  5. Jun 04, 2009
  6. Jun 03, 2009
    • 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>
      19d337df
    • 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
      warning:
      /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
      drivers/net/wireless/iwlwifi/iwl-core.c
      
      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>
      d651ae32
    • 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>
      d77b034f
    • 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
      http://marc.info/?l=linux-wireless&m=124267503030042&w=2
      
      
      
      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>
      df29ff37
  7. May 22, 2009
  8. May 20, 2009
  9. May 11, 2009
Loading