commit | e5d15cb530082cc13a6c9457eddd6f75b0f4de65 | [log] [tgz] |
---|---|---|
author | Eliad Peller <eliad@wizery.com> | Thu Dec 17 13:02:56 2015 +0200 |
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Mon Dec 21 19:35:41 2015 +0200 |
tree | 3b9560887f07550bcea8aa71a2f514b58611b46e | |
parent | 5d4e8d6463dd7a7fb4f7f0bd1a045036c30b3bed [diff] |
iwlwifi: bail out in case of bad trans state In case of bad trans state (i.e. fw is not loaded) bail out immediately instead of calling the trans, which might not be fully initialized yet. Also add WARN_ON_ONCE to help debugging where the errorneous call is coming from. Signed-off-by: Eliad Peller <eliadx.peller@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>