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)
commit6aac74b40d5828c6f6b24974580aa43d7bee905c
treea2efa613963176e4e2e37e9031cf6be1f579a010
parentbed2263feb10ea29b2696030cdec2eea611caf14
iwlwifi: clear rxq->queue in queue reset

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>
drivers/net/wireless/iwlwifi/iwl-agn-lib.c