From: Johannes Berg Date: Fri, 3 Sep 2010 13:32:21 +0000 (-0700) Subject: iwlwifi: avoid sending too many commands X-Git-Tag: v2.6.37-rc1~147^2~373^2^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=763cc3bf5c2ae189a929fce54759c5bd94b8ba16;p=pandora-kernel.git iwlwifi: avoid sending too many commands When the PAN context is unused, there's no need to continually update it in the device. So track which contexts are active (with the special case that the WLAN context is always active ...) and only send their commands to the device when needed. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy --- Reading git-diff-tree failed