1. 23 8月, 2008 1 次提交
    • H
      rfkill: add default global states (v2) · 99619201
      Henrique de Moraes Holschuh 提交于
      Add a second set of global states, "rfkill_default_states", to track the
      state that will be used when the first rfkill class of a given type is
      registered, and also to save "undo" information when rfkill_epo is called.
      
      Add a new exported function, rfkill_set_default(), which can be used by
      platform drivers to restore radio state saved by the platform across
      reboots or shutdown.
      
      Also, fix rfkill_epo to properly update rfkill_states, but still preserve a
      copy of the state so that we can undo the effect of rfkill_epo later if we
      want to.  Add rfkill_restore_states() to restore rfkill_states from the
      copy.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Acked-by: NIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      99619201
  2. 27 6月, 2008 1 次提交
  3. 11 10月, 2007 1 次提交