iwlwifi: don't update TFD free counter for invalid station
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 24 Oct 2008 06:48:50 +0000 (23:48 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:02:23 +0000 (19:02 -0400)
commited7fafec5e566a30fb21586c98cbef76c306d209
tree846de6c21c2646b03c0772d3407b82b33c45286f
parent3fd07a1e5aba89d4be3696c46cb7297f1873195a
iwlwifi: don't update TFD free counter for invalid station

This patch makes sure that station table is not accessed
with invalid station id in 4965 TX response path

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-4965.c