iwlwifi: move firmware request into drv

Firmware request is a base driver flow,
it isn't related to any specific mode.
Move the code related to it into the
base driver file iwl-drv.c.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Johannes Berg
2012-03-05 11:24:50 -08:00
committed by John W. Linville
parent 702e0630ee
commit 15854ef94f
3 changed files with 625 additions and 627 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -66,8 +66,6 @@
#include "iwl-shared.h"
#include "iwl-ucode.h"
#define UCODE_EXPERIMENTAL_INDEX 100
/**
* struct iwl_nic - nic common data
* @fw: the iwl_fw structure
@@ -99,9 +97,6 @@ struct iwl_nic {
};
int __must_check iwl_request_firmware(struct iwl_nic *nic, bool first);
void iwl_dealloc_ucode(struct iwl_nic *nic);
int iwl_send_bt_env(struct iwl_trans *trans, u8 action, u8 type);
void iwl_send_prio_tbl(struct iwl_trans *trans);
int iwl_init_alive_start(struct iwl_trans *trans);