]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: don't risk using stale HLID during .sta_state callback
authorArik Nemtsov <arik@wizery.com>
Tue, 12 Mar 2013 15:19:37 +0000 (17:19 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 25 Mar 2013 10:33:11 +0000 (12:33 +0200)
commit0f96ba515518a2d1f4dfb7ed4e42923cb0621767
tree284ab08b36d12c3d6a7c8310444051e8678476f7
parent95831938d6582a5b9feda9347cd6061ad4750494
wlcore: don't risk using stale HLID during .sta_state callback

The HLID of a STA can change, particularly during recovery. Don't cache
the HLID before it was potentially allocated.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c