Skip to content
  • Guy Eilam's avatar
    mac80211: refactor sta_info_insert_rcu to 3 main stages · 8c71df7a
    Guy Eilam authored
    
    
    Divided the sta_info_insert_rcu function to 3 mini-functions:
    sta_info_insert_check - the initial checks done when inserting
    a new station
    sta_info_insert_ibss - the function that handles the station
    addition for IBSS interfaces
    sta_info_insert_non_ibss - the function that handles the station
    addition in other cases
    
    The outer API was not changed.
    The refactoring was done for better usage of the different
    stages in the station addition in new scenarios added
    in the next commit.
    
    Signed-off-by: default avatarGuy Eilam <guy@wizery.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    8c71df7a