From: Jussi Kivilinna Date: Wed, 22 Apr 2009 07:59:37 +0000 (+0300) Subject: rndis_wlan: fix initialization order for workqueue&workers X-Git-Tag: v2.6.30-rc5~39^2~24^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e805e4d0b53506dff4255a2792483f094e7fcd2c;p=pandora-kernel.git rndis_wlan: fix initialization order for workqueue&workers rndis_wext_link_change() might be called from rndis_command() at initialization stage and priv->workqueue/priv->work have not been initialized yet. This causes invalid opcode at rndis_wext_bind on some brands of bcm4320. Fix by initializing workqueue/workers in rndis_wext_bind() before rndis_command is used. This bug has existed since 2.6.25, reported at: http://bugzilla.kernel.org/show_bug.cgi?id=12794 Signed-off-by: Jussi Kivilinna Signed-off-by: John W. Linville --- Reading git-diff-tree failed