diff options
| -rw-r--r-- | drivers/net/wireless/mwifiex/join.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/mwifiex/join.c b/drivers/net/wireless/mwifiex/join.c index 0b977ea1cddb..8d6c25908b6d 100644 --- a/drivers/net/wireless/mwifiex/join.c +++ b/drivers/net/wireless/mwifiex/join.c | |||
| @@ -1288,8 +1288,6 @@ done: | |||
| 1288 | int mwifiex_associate(struct mwifiex_private *priv, | 1288 | int mwifiex_associate(struct mwifiex_private *priv, |
| 1289 | struct mwifiex_bssdescriptor *bss_desc) | 1289 | struct mwifiex_bssdescriptor *bss_desc) |
| 1290 | { | 1290 | { |
| 1291 | u8 current_bssid[ETH_ALEN]; | ||
| 1292 | |||
| 1293 | /* Return error if the adapter is not STA role or table entry | 1291 | /* Return error if the adapter is not STA role or table entry |
| 1294 | * is not marked as infra. | 1292 | * is not marked as infra. |
| 1295 | */ | 1293 | */ |
| @@ -1304,10 +1302,6 @@ int mwifiex_associate(struct mwifiex_private *priv, | |||
| 1304 | else | 1302 | else |
| 1305 | mwifiex_set_ba_params(priv); | 1303 | mwifiex_set_ba_params(priv); |
| 1306 | 1304 | ||
| 1307 | memcpy(¤t_bssid, | ||
| 1308 | &priv->curr_bss_params.bss_descriptor.mac_address, | ||
| 1309 | sizeof(current_bssid)); | ||
| 1310 | |||
| 1311 | /* Clear any past association response stored for application | 1305 | /* Clear any past association response stored for application |
| 1312 | retrieval */ | 1306 | retrieval */ |
| 1313 | priv->assoc_rsp_size = 0; | 1307 | priv->assoc_rsp_size = 0; |
