]> git.karo-electronics.de Git - mv-sheeva.git/commit
brcm80211: smac: remove firmware requests from init_module syscall
authorArend van Spriel <arend@broadcom.com>
Fri, 2 Mar 2012 21:55:50 +0000 (22:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:54:01 +0000 (15:54 -0500)
commitb0c359b2f68e982ac9334a5f2c04c3a67dee4d50
tree00a8a3928f61e9addfd5faba6fec90cc8d06681c
parente64a4b708fd5b719b54f7f969895b66bcba71486
brcm80211: smac: 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: Alwin Beukers <alwin@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c