wl12xx: free ap keys only in ap mode
authorEliad Peller <eliad@wizery.com>
Mon, 19 Mar 2012 09:32:55 +0000 (11:32 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 10 Apr 2012 09:23:15 +0000 (12:23 +0300)
The ap keys should be freed only when removing
ap role (otherwise, some arbitrary data might
get freed).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>

No differences found