]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit2fec3d27660fe4fe140374cd7d84ec799f3ebb15
tree284ab08b36d12c3d6a7c8310444051e8678476f7
parent37c68ea6997aac2faf21b83c28eda3b1659c4d45
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