diff options
-rw-r--r-- | net/ieee80211/ieee80211_rx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c index 3ae91118c736..de402b75c428 100644 --- a/net/ieee80211/ieee80211_rx.c +++ b/net/ieee80211/ieee80211_rx.c | |||
@@ -1047,7 +1047,9 @@ static int ieee80211_parse_info_param(struct ieee80211_info_element | |||
1047 | break; | 1047 | break; |
1048 | 1048 | ||
1049 | case MFIE_TYPE_TIM: | 1049 | case MFIE_TYPE_TIM: |
1050 | IEEE80211_DEBUG_MGMT("MFIE_TYPE_TIM: ignored\n"); | 1050 | network->tim.tim_count = info_element->data[0]; |
1051 | network->tim.tim_period = info_element->data[1]; | ||
1052 | IEEE80211_DEBUG_MGMT("MFIE_TYPE_TIM: partially ignored\n"); | ||
1051 | break; | 1053 | break; |
1052 | 1054 | ||
1053 | case MFIE_TYPE_ERP_INFO: | 1055 | case MFIE_TYPE_ERP_INFO: |
@@ -1276,6 +1278,7 @@ static void update_network(struct ieee80211_network *dst, | |||
1276 | dst->listen_interval = src->listen_interval; | 1278 | dst->listen_interval = src->listen_interval; |
1277 | dst->atim_window = src->atim_window; | 1279 | dst->atim_window = src->atim_window; |
1278 | dst->erp_value = src->erp_value; | 1280 | dst->erp_value = src->erp_value; |
1281 | dst->tim = src->tim; | ||
1279 | 1282 | ||
1280 | memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); | 1283 | memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); |
1281 | dst->wpa_ie_len = src->wpa_ie_len; | 1284 | dst->wpa_ie_len = src->wpa_ie_len; |