wlcore: don't get the hlid from a queued skb
authorArik Nemtsov <arik@wizery.com>
Fri, 27 Jul 2012 07:11:32 +0000 (10:11 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 31 Jul 2012 14:11:02 +0000 (16:11 +0200)
commit930e1915e73dd12c5e3a0e6a5a4349bdb9ab0ab7
treea8b58d39a4de7dac8486c7ebf66e0da7ca1ace30
parente21768928d73df55e648869d3ae159475d1e4b7d
wlcore: don't get the hlid from a queued skb

There was a bug hiding here since the hlid was sometimes inferred from
the sta, which might be invalid at this point.

Instead, propagate the hlid from the skb-queue where we got the skb
in the first place.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Acked-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ti/wlcore/tx.c