From: Johannes Berg Date: Fri, 3 Sep 2010 13:30:55 +0000 (-0700) Subject: iwlwifi: fix and describe iwl_adjust_beacon_interval X-Git-Tag: v2.6.37-rc1~147^2~373^2^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea196fdbb982150c19854f90773cb8b9bf331049;p=pandora-kernel.git iwlwifi: fix and describe iwl_adjust_beacon_interval The iwl_adjust_beacon_interval function is a bit of black magic, so add comments to it describing what it does. Also, in the case when there's no beacon interval set, program the default into the device (instead of adjusting, which results in the max) since using the max in that case interacts badly with dual-mode/PAN parameters. Also update the PAN parameters accordingly and use the same constant as here. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy --- Reading git-diff-tree failed