iwlwifi: iwl_power_update_mode always hold mutex
authorReinette Chatre <reinette.chatre@intel.com>
Thu, 21 Jan 2010 19:52:28 +0000 (11:52 -0800)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 29 Jan 2010 19:13:59 +0000 (11:13 -0800)
iwl_power_update_mode expects to be called with mutex held, for example to
protect priv->vif. Only one caller currently does not do this, fix this.
Also, add a comment to iwl_power_update_mode to indicate this requirement.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>

No differences found