sta_info.c (930352862e9533fecc42c7ed20798a7c9e3aa874) sta_info.c (2bad7748b332d7218377287248eb66c25de033b2)
1/*
2 * Copyright 2002-2005, Instant802 Networks, Inc.
3 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
4 * Copyright 2013-2014 Intel Mobile Communications GmbH
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 487 unchanged lines hidden (view full) ---

496 smp_mb();
497
498 /* simplify things and don't accept BA sessions yet */
499 set_sta_flag(sta, WLAN_STA_BLOCK_BA);
500
501 /* make the station visible */
502 sta_info_hash_add(local, sta);
503
1/*
2 * Copyright 2002-2005, Instant802 Networks, Inc.
3 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
4 * Copyright 2013-2014 Intel Mobile Communications GmbH
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 487 unchanged lines hidden (view full) ---

496 smp_mb();
497
498 /* simplify things and don't accept BA sessions yet */
499 set_sta_flag(sta, WLAN_STA_BLOCK_BA);
500
501 /* make the station visible */
502 sta_info_hash_add(local, sta);
503
504 list_add_rcu(&sta->list, &local->sta_list);
504 list_add_tail_rcu(&sta->list, &local->sta_list);
505
506 /* notify driver */
507 err = sta_info_insert_drv_state(local, sdata, sta);
508 if (err)
509 goto out_remove;
510
511 set_sta_flag(sta, WLAN_STA_INSERTED);
512 /* accept BA sessions now */

--- 1350 unchanged lines hidden ---
505
506 /* notify driver */
507 err = sta_info_insert_drv_state(local, sdata, sta);
508 if (err)
509 goto out_remove;
510
511 set_sta_flag(sta, WLAN_STA_INSERTED);
512 /* accept BA sessions now */

--- 1350 unchanged lines hidden ---