]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
brcm80211: fmac: remove firmware requests from init_module syscall
authorArend van Spriel <arend@broadcom.com>
Fri, 2 Mar 2012 21:55:49 +0000 (22:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:53:59 +0000 (15:53 -0500)
commite64a4b708fd5b719b54f7f969895b66bcba71486
treeae1b14679701533c2c65b364f325222fa5f34cea
parent549040abbc03e87bdee2964fea5e4c827471d4df
brcm80211: fmac: remove firmware requests from init_module syscall

As indicated in [1] on netdev mailing list drivers should not block
on the init_module() syscall. This patch defers the actual driver
registration to a workqueue so the init_module() syscall can complete
without delay.

[1] http://article.gmane.org/gmane.linux.network/217729/

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@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_linux.c