iwlwifi: add notification infrastructure to iwlcore
authorMohamed Abbas <mabbas@linux.intel.com>
Fri, 28 Mar 2008 23:21:05 +0000 (16:21 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Apr 2008 21:13:18 +0000 (17:13 -0400)
commitc8381fdcab98b74f670d879097bab35d97d88400
treead2622cb396c700377dbeb26f3e36b280225bc8d
parent0675abdbfbcb8e0253a970c0dfe8d23b112888f3
iwlwifi: add notification infrastructure to iwlcore

This patch add notification function to be called by low level
iwl driver to notify iwlcore with current state. This function
will call iwlcore subsystem with the new state. This will
help make the code more consistent and easy to extend. For example
the rf-kill need to know when the driver in init, start, stop or
remove state. Instead doing the same call in 3945 and 4965, we
just do it from this function.

Signed-off-by: Mohamed Abbas <mabbas@linux.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-core.c
drivers/net/wireless/iwlwifi/iwl-core.h
drivers/net/wireless/iwlwifi/iwl4965-base.c