Issue of the Implementation # L0040
carl9170: unlock of unheld mutex in carl9170_op_set_key
If is_main_vif(ar, vif) reports that we have to fall back to software encryption, we goto err_softw; before locking ar->mutex. As a result, we have unprotected call to carl9170_set_operating_mode and unmatched mutex_unlock.
Fixed in kernel 3.1-rc5