wl12xx: don't remove key if hlid was already deleted
authorEliad Peller <eliad@wizery.com>
Sun, 14 Aug 2011 10:17:31 +0000 (13:17 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 22 Aug 2011 09:35:30 +0000 (12:35 +0300)
commit010d3d30a218fba961bd3d250a59b0ce9d5278f3
treea18a95539b6384c50ae866ef64095d1b98d25a52
parent7f97b487c4a9634afc008a76ff26268147d7ee8e
wl12xx: don't remove key if hlid was already deleted

When wep key was removed after disconnection, sta_hlid was invalid,
and it resulted in a fw crash.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c