ath9k: simpify RX by calling ath_get_virt_hw() once
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 2 Nov 2009 19:36:08 +0000 (11:36 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Nov 2009 22:09:01 +0000 (17:09 -0500)
commitb4afffc0cfa3f35ee011d5ed4153e49f5cc3bc96
treeda6199c5a8e228b8ecccbe1ffc6fe9ba31b869f4
parent1bdf6c3bece59c96aec3b8b457a9a554f6b2c433
ath9k: simpify RX by calling ath_get_virt_hw() once

ath_get_virt_hw() is required on RX to determine for which virtual
wiphy an skb came in for. Instead of searching for the hw twice do
it only once.

Cc: Jouni.Malinen <Jouni.Malinen@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c