mesh_plink.c (a6dad6a26e15f2f9269eea41b756c8cf0971b2bc) | mesh_plink.c (87f59c70ce6d1abeaaf97594835be29f746b81a0) |
---|---|
1/* 2 * Copyright (c) 2008, 2009 open80211s Ltd. 3 * Author: Luis Carlos Cobo <luisca@cozybit.com> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 */ --- 406 unchanged lines hidden (view full) --- 415 if (sdata->local->num_sta >= MESH_MAX_PLINKS) 416 return NULL; 417 418 sta = sta_info_alloc(sdata, hw_addr, GFP_KERNEL); 419 if (!sta) 420 return NULL; 421 422 sta->plink_state = NL80211_PLINK_LISTEN; | 1/* 2 * Copyright (c) 2008, 2009 open80211s Ltd. 3 * Author: Luis Carlos Cobo <luisca@cozybit.com> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 */ --- 406 unchanged lines hidden (view full) --- 415 if (sdata->local->num_sta >= MESH_MAX_PLINKS) 416 return NULL; 417 418 sta = sta_info_alloc(sdata, hw_addr, GFP_KERNEL); 419 if (!sta) 420 return NULL; 421 422 sta->plink_state = NL80211_PLINK_LISTEN; |
423 init_timer(&sta->plink_timer); | |
424 425 sta_info_pre_move_state(sta, IEEE80211_STA_AUTH); 426 sta_info_pre_move_state(sta, IEEE80211_STA_ASSOC); 427 sta_info_pre_move_state(sta, IEEE80211_STA_AUTHORIZED); 428 429 set_sta_flag(sta, WLAN_STA_WME); 430 431 return sta; --- 643 unchanged lines hidden --- | 423 424 sta_info_pre_move_state(sta, IEEE80211_STA_AUTH); 425 sta_info_pre_move_state(sta, IEEE80211_STA_ASSOC); 426 sta_info_pre_move_state(sta, IEEE80211_STA_AUTHORIZED); 427 428 set_sta_flag(sta, WLAN_STA_WME); 429 430 return sta; --- 643 unchanged lines hidden --- |