From: Zhu Yi Date: Mon, 15 Jun 2009 19:36:14 +0000 (+0200) Subject: iwmc3200wifi: add iwm_if_add and iwm_if_remove X-Git-Tag: v2.6.31-rc1~63^2~9^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7e057dca3f1b76ff44dd16fefcd493a52614aad;p=pandora-kernel.git iwmc3200wifi: add iwm_if_add and iwm_if_remove We used to do alloc_netdev and register_netdev at the same time in iwm_if_alloc. But some bus related structures will only be initialized after iwm_priv is allocated. This caused a race condition that the netdev might be registered earlier. The patch adds iwm_if_add and iwm_if_remove so that the bus layer could register the device after all initialization is done. Signed-off-by: Zhu Yi Signed-off-by: Samuel Ortiz Signed-off-by: John W. Linville --- Reading git-diff-tree failed