diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-11-28 11:42:48 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-12-11 12:37:24 +0200 |
commit | 2fd8a3bb49400a4a0fe9d9cd9d49019e7a46403e (patch) | |
tree | a0a16e8953895b47b7d8e34fccaf87eb0daf5d8e /drivers/net/wireless/ti/wl18xx/wl18xx.h | |
parent | 0b70078c38fd1c8d69cf52b93e8c3bdd719a2394 (diff) | |
download | blackbird-obmc-linux-2fd8a3bb49400a4a0fe9d9cd9d49019e7a46403e.tar.gz blackbird-obmc-linux-2fd8a3bb49400a4a0fe9d9cd9d49019e7a46403e.zip |
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>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/wl18xx.h')
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/wl18xx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/wl18xx.h b/drivers/net/wireless/ti/wl18xx/wl18xx.h index e6ea78c7da36..b6739e79efcf 100644 --- a/drivers/net/wireless/ti/wl18xx/wl18xx.h +++ b/drivers/net/wireless/ti/wl18xx/wl18xx.h @@ -49,8 +49,8 @@ struct wl18xx_priv { /* Index of last released Tx desc in FW */ u8 last_fw_rls_idx; - /* number of VIFs requiring extra spare mem-blocks */ - int extra_spare_vif_count; + /* number of keys requiring extra spare mem-blocks */ + int extra_spare_key_count; }; #define WL18XX_FW_MAX_TX_STATUS_DESC 33 |