commit | dc1a4068fce2657991c5c3b1f6849f7fc466c69f | [log] [tgz] |
---|---|---|
author | Stanislaw Gruszka <sgruszka@redhat.com> | Thu Mar 31 17:36:27 2011 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Apr 07 15:34:11 2011 -0400 |
tree | 8463f06bbbc582f7afa6d8869350dc1f67f8732e | |
parent | 3598e1774c94e55c71b585340e7dc4538f310e3f [diff] |
iwlwifi: 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> Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>