提交 c2436980 编写于 作者: J Jason Andryuk 提交者: John W. Linville

iwl3945: initialize is_valid_rtc_data_addr function pointer

Initialize is_valid_rtc_data_addr function pointer for iwl3945 to
prevent a NULL pointer dereference in iwl_dump_nic_error_log.
Signed-off-by: NJason Andryuk <jandryuk@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 53b23b88
......@@ -2747,6 +2747,7 @@ static struct iwl_lib_ops iwl3945_lib = {
.query_addr = iwlcore_eeprom_query_addr,
},
.send_tx_power = iwl3945_send_tx_power,
.is_valid_rtc_data_addr = iwl3945_hw_valid_rtc_data_addr,
};
static struct iwl_hcmd_utils_ops iwl3945_hcmd_utils = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册