commit | 28a6e577c65cc317fed5265efc43ce9282928bd4 | [log] [tgz] |
---|---|---|
author | Stanislaw Gruszka <sgruszka@redhat.com> | Thu Apr 28 11:51:32 2011 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Apr 29 15:36:14 2011 -0400 |
tree | 4d99bbef18582fe6f1d211920e25d3705be0a87d | |
parent | 81e63263aa3c5bfa64aa3206f4be3e59afc1c183 [diff] |
iwlegacy: more priv->mutex serialization Check status bits with mutex taken, because when we wait for mutex unlock, status can change. Patch should also make remaining sync commands be send with priv->mutex taken. That will prevent execute these commands when we are currently reset firmware, what could possibly cause troubles. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>