brcmfmac: simplify dpc handling using atomic operations
authorArend van Spriel <arend@broadcom.com>
Tue, 18 Jun 2013 11:29:26 +0000 (13:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 18 Jun 2013 18:46:50 +0000 (14:46 -0400)
commitfccfe93036312f3ad35d37c2ca960f104c6e7f21
treef7a089b5fcaeb2324f2dd7e0edcf1eabbc83eeea
parent1ab083a3752760ec7751a7fa43db555d2d6f1e6a
brcmfmac: simplify dpc handling using atomic operations

Instead of allocating an empty list item and queue that for
the dpc data worker to dequeue an atomic counter is used.

Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c