]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit51047ffe6269036a227b096be9184c4146f0db06
treea8b58d39a4de7dac8486c7ebf66e0da7ca1ace30
parent5b29da8dc19f46ff7473bea4a20526eca93f45e7
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