sta_info.c (0ead2510f8cec11ce96308d79a1b4ee272fb5238) | sta_info.c (ef044763a3ca6b9e0bb65a9ce0cb38c0eca62756) |
---|---|
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 * Copyright (C) 2015 Intel Deutschland GmbH 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 869 unchanged lines hidden (view full) --- 878 * removal. 879 */ 880 if (test_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL)) { 881 drv_tdls_cancel_channel_switch(local, sdata, &sta->sta); 882 clear_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL); 883 } 884 885 list_del_rcu(&sta->list); | 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 * Copyright (C) 2015 Intel Deutschland GmbH 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 869 unchanged lines hidden (view full) --- 878 * removal. 879 */ 880 if (test_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL)) { 881 drv_tdls_cancel_channel_switch(local, sdata, &sta->sta); 882 clear_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL); 883 } 884 885 list_del_rcu(&sta->list); |
886 sta->removed = true; |
|
886 887 drv_sta_pre_rcu_remove(local, sta->sdata, sta); 888 889 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN && 890 rcu_access_pointer(sdata->u.vlan.sta) == sta) 891 RCU_INIT_POINTER(sdata->u.vlan.sta, NULL); 892 893 return 0; --- 1247 unchanged lines hidden --- | 887 888 drv_sta_pre_rcu_remove(local, sta->sdata, sta); 889 890 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN && 891 rcu_access_pointer(sdata->u.vlan.sta) == sta) 892 RCU_INIT_POINTER(sdata->u.vlan.sta, NULL); 893 894 return 0; --- 1247 unchanged lines hidden --- |