]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
iwlwifi: LED initialize before registering
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 28 Mar 2008 23:21:11 +0000 (16:21 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Apr 2008 21:13:19 +0000 (17:13 -0400)
commita571ea4eb34adbf33bbaf4bdc6db6037b1a93e0f
treeb05601f835961c682a07334d1e3e836c0cbae188
parentc4f552321fa2cfe1d6b1846138d2aa8254308f96
iwlwifi: LED initialize before registering

This patch initialize all fields in led before registering it
This fixes oops on initialization

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-led.c