commit | 763cc3bf5c2ae189a929fce54759c5bd94b8ba16 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri Sep 03 06:32:21 2010 -0700 |
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | Sat Sep 11 08:51:39 2010 -0700 |
tree | 99d8574d1b8172b4f527d6674908081b6e279355 | |
parent | c6abdc0dc3440b9b6ae00a59c3560ab2160c7c7d [diff] |
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 <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>