commit | ebf17ff9bb46206ca7a4bc7260bff52f593c25db | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Mon Jun 01 23:38:23 2015 +0200 |
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Wed Jun 03 09:43:20 2015 +0300 |
tree | c674963add771a06aac0928f9c17221ea16f33f5 | |
parent | aa42fb2420d4dc213d8306a9e0fdddf7ba83a10c [diff] |
iwlwifi: mvm: simplify iwl_mvm_stop_roc() As pointed out by smatch, there's no need for a loop that always immediately terminates. Use an if statement instead and while at it clean up the mvmvif initialization. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>