diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index f3e4cf5a82e0..8264d3742d08 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -1153,6 +1153,10 @@ static void iwl_bg_statistics_periodic(unsigned long data) | |||
1153 | if (test_bit(STATUS_EXIT_PENDING, &priv->status)) | 1153 | if (test_bit(STATUS_EXIT_PENDING, &priv->status)) |
1154 | return; | 1154 | return; |
1155 | 1155 | ||
1156 | /* dont send host command if rf-kill is on */ | ||
1157 | if (!iwl_is_ready_rf(priv)) | ||
1158 | return; | ||
1159 | |||
1156 | iwl_send_statistics_request(priv, CMD_ASYNC); | 1160 | iwl_send_statistics_request(priv, CMD_ASYNC); |
1157 | } | 1161 | } |
1158 | 1162 | ||