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

If hlid was already removed, there is no need to remove
its key (it might cause a fw crash, as the key is invalid).

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