iwl3945: Select correct sta ID from find_station()
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 2 Dec 2008 20:13:59 +0000 (12:13 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Dec 2008 14:35:52 +0000 (09:35 -0500)
commitc93007efaad0a90520ba73f025c663441bf7e9d6
treef312bdcecabb03ae6ddb396743bbd283aef8b866
parent99df630c3453e4a66b3408212dd8e55bc0e04f54
iwl3945: Select correct sta ID from find_station()

The find_station routine needs to look at the IWL_AP_ID entry if we're a STA.
Currently, it only looks for STA entries which causes HW crypto to fail.

Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945.c