1. 28 11月, 2012 6 次提交
  2. 27 11月, 2012 26 次提交
  3. 17 11月, 2012 7 次提交
  4. 27 9月, 2012 1 次提交
    • E
      wlcore: protect wlcore_op_set_key with mutex · af390f4d
      Eliad Peller 提交于
      wlcore_op_set_key() calls wl18xx_set_key(),
      which in turn executes some of his function
      calls without acquiring wl->mutex and making
      sure the fw is awake.
      
      Adding mutex_lock()/ps_elp_wakeup() calls is
      not enough, as wl18xx_set_key() calls
      wl1271_tx_flush() which can't be called while
      the mutex is taken.
      
      Add the required calls to wlcore_op_set_key,
      but limit the queues_stop and flushing
      to the only encryption types in which
      a spare block might be needed (GEM and TKIP).
      
      [Arik - move state != ON check]
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <luca@coelho.fi>
      af390f4d