]> git.karo-electronics.de Git - linux-beck.git/commit
wl18xx: count HW block spare based correctly on keys
authorArik Nemtsov <arik@wizery.com>
Wed, 28 Nov 2012 09:42:48 +0000 (11:42 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Dec 2012 10:37:24 +0000 (12:37 +0200)
commit2fd8a3bb49400a4a0fe9d9cd9d49019e7a46403e
treea0a16e8953895b47b7d8e34fccaf87eb0daf5d8e
parent0b70078c38fd1c8d69cf52b93e8c3bdd719a2394
wl18xx: count HW block spare based correctly on keys

We have no idea how many VIFs there are requiring a special spare, we
know just about the number of keys set. Rename the counter appropriately
and toggle it whenever a special key is added/removed.
Previously this was only changed once, since it was toggled whenever
the actual spare was changed.

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