iwlmvm: mvm: set correct state in smart-fifo configuration
authorstriebit <shaul.triebitz@intel.com>
Tue, 7 Jun 2016 12:05:26 +0000 (15:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Oct 2016 13:23:44 +0000 (15:23 +0200)
commit868b3ee358d20140da2a2225c0e98da69ff742dd
tree45f663500c2e4147359c844480540a09630d22aa
parentaef1f7cf94e59ee5c09e400ddb4dae52ef3bfefe
iwlmvm: mvm: set correct state in smart-fifo configuration

commit 849a9627299100ae3f0ce573fc87d2b476f3bb59 upstream.

Currently the state sent in SF configuration is always
FULL_ON.
This commit sets the correct state (e.g. INIT_OFF
when station is not associated).

Fixes: commit f4a3ee493e69 ("iwlwifi: mvm: Always enable the smart FIFO")
Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/mvm/sf.c