diff options
author | Zhu Yi <yi.zhu@intel.com> | 2010-03-23 00:45:03 -0700 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-04-02 12:18:26 -0700 |
commit | de0f60ea94e132c858caa64a44b2012e1e8580b0 (patch) | |
tree | c7269d53625c58fe69befc61c3c347f7c8faf89c /net/mac80211 | |
parent | 04f2dec1c3d375c4072613880f28f43b66524876 (diff) | |
download | op-kernel-dev-de0f60ea94e132c858caa64a44b2012e1e8580b0.zip op-kernel-dev-de0f60ea94e132c858caa64a44b2012e1e8580b0.tar.gz |
iwlwifi: avoid Tx queue memory allocation in interface down
We used to free all the Tx queues memory when interface is brought
down and reallocate them again in interface up. This requires
order-4 allocation for txq->cmd[]. In situations like s2ram, this
usually leads to allocation failure in the memory subsystem. The
patch fixed this problem by allocating the Tx queues memory only at
the first time. Later iwl_down/iwl_up only initialize but don't
free and reallocate them. The memory is freed at the device removal
time. BTW, we have already done this for the Rx queue.
This fixed bug https://bugzilla.kernel.org/show_bug.cgi?id=15551
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions