diff options
-rw-r--r-- | drivers/net/wireless/mwifiex/scan.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/net/wireless/mwifiex/scan.c b/drivers/net/wireless/mwifiex/scan.c index 949234fcf8c6..e275aec5a17a 100644 --- a/drivers/net/wireless/mwifiex/scan.c +++ b/drivers/net/wireless/mwifiex/scan.c | |||
@@ -1485,20 +1485,15 @@ static int mwifiex_update_curr_bss_params(struct mwifiex_private *priv, | |||
1485 | priv->curr_bss_params.bss_descriptor.bcn_wapi_ie = NULL; | 1485 | priv->curr_bss_params.bss_descriptor.bcn_wapi_ie = NULL; |
1486 | priv->curr_bss_params.bss_descriptor.wapi_offset = 0; | 1486 | priv->curr_bss_params.bss_descriptor.wapi_offset = 0; |
1487 | priv->curr_bss_params.bss_descriptor.bcn_ht_cap = NULL; | 1487 | priv->curr_bss_params.bss_descriptor.bcn_ht_cap = NULL; |
1488 | priv->curr_bss_params.bss_descriptor.ht_cap_offset = | 1488 | priv->curr_bss_params.bss_descriptor.ht_cap_offset = 0; |
1489 | 0; | ||
1490 | priv->curr_bss_params.bss_descriptor.bcn_ht_oper = NULL; | 1489 | priv->curr_bss_params.bss_descriptor.bcn_ht_oper = NULL; |
1491 | priv->curr_bss_params.bss_descriptor.ht_info_offset = | 1490 | priv->curr_bss_params.bss_descriptor.ht_info_offset = 0; |
1492 | 0; | 1491 | priv->curr_bss_params.bss_descriptor.bcn_bss_co_2040 = NULL; |
1493 | priv->curr_bss_params.bss_descriptor.bcn_bss_co_2040 = | 1492 | priv->curr_bss_params.bss_descriptor.bss_co_2040_offset = 0; |
1494 | NULL; | ||
1495 | priv->curr_bss_params.bss_descriptor. | ||
1496 | bss_co_2040_offset = 0; | ||
1497 | priv->curr_bss_params.bss_descriptor.bcn_ext_cap = NULL; | 1493 | priv->curr_bss_params.bss_descriptor.bcn_ext_cap = NULL; |
1498 | priv->curr_bss_params.bss_descriptor.ext_cap_offset = 0; | 1494 | priv->curr_bss_params.bss_descriptor.ext_cap_offset = 0; |
1499 | priv->curr_bss_params.bss_descriptor.beacon_buf = NULL; | 1495 | priv->curr_bss_params.bss_descriptor.beacon_buf = NULL; |
1500 | priv->curr_bss_params.bss_descriptor.beacon_buf_size = | 1496 | priv->curr_bss_params.bss_descriptor.beacon_buf_size = 0; |
1501 | 0; | ||
1502 | 1497 | ||
1503 | /* Make a copy of current BSSID descriptor */ | 1498 | /* Make a copy of current BSSID descriptor */ |
1504 | memcpy(&priv->curr_bss_params.bss_descriptor, bss_desc, | 1499 | memcpy(&priv->curr_bss_params.bss_descriptor, bss_desc, |