summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2010-03-23 07:45:03 (GMT)
committerReinette Chatre <reinette.chatre@intel.com>2010-04-02 19:18:26 (GMT)
commitde0f60ea94e132c858caa64a44b2012e1e8580b0 (patch)
treec7269d53625c58fe69befc61c3c347f7c8faf89c /net/mac80211
parent04f2dec1c3d375c4072613880f28f43b66524876 (diff)
downloadlinux-fsl-qoriq-de0f60ea94e132c858caa64a44b2012e1e8580b0.tar.xz
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