aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-09-01 14:15:17 +0200
committerLuca Coelho <luciano.coelho@intel.com>2015-10-05 12:28:50 +0300
commita6449126518d908f0d706cce85c9bf243342b7b0 (patch)
treed4238cdf9b3462bf8b9061093609d32d497db185 /net/switchdev/switchdev.c
parentiwlwifi: nvm: force 1x1 antenna in Series 8000 (diff)
downloadlinux-dev-a6449126518d908f0d706cce85c9bf243342b7b0.tar.xz
linux-dev-a6449126518d908f0d706cce85c9bf243342b7b0.zip
iwlwifi: mvm: correct skip-over-DTIM implementation
The formula used in D0i3 should also be used in D3, instead of the hardcoded value. Additionally, the formula is actually wrong - if the calculation yields 0 then 1 should be used instead of disabling entirely. Also need to add 1 since the firmware needs 3 to skip 2, etc. To make all this clearer, centralize the calculation into a single function. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions