iwlwifi: clear rxq->queue in queue reset
authorZhu Yi <yi.zhu@intel.com>
Tue, 23 Mar 2010 02:33:41 +0000 (19:33 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 2 Apr 2010 19:50:37 +0000 (12:50 -0700)
In iwl_rx_queue_reset(), we didn't clear the rxq->queue[]. This might
cause the same rxb appears on multiple places in rxq->queue. Although
this won't cause any problem because of the read and write pointers
protection in rxq, we'd better clear it to avoid misleading.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>

No differences found