]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
iwlwifi: mvm: rs: avoid ss_force from being reset after tx idle
authorEyal Shapira <eyal@wizery.com>
Mon, 2 Feb 2015 10:14:54 +0000 (12:14 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 1 Mar 2015 14:55:05 +0000 (16:55 +0200)
commit878985ce7e384c11dae751b4c217f5abe8b62806
treeac51ae18c069a812a165ad9d5bda8593bbb6b3a0
parente717c166766a3542027f1d5da236aa74d1903ada
iwlwifi: mvm: rs: avoid ss_force from being reset after tx idle

ss_force is a debugging option to force a certain single stream
tx mode. It's not useful if it gets reset after tx idle. Fix that.
While at it also make sure any code touching ss_force will only
get compiled if debugfs support is configured.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c
drivers/net/wireless/iwlwifi/mvm/rs.h