• Sujith's avatar
    ath9k: Cleanup bss_info_changed callback · c6089ccc
    Sujith authored
    * Remove a code chunk dealing with operating mode changes.
      As noted, all such policy changes are to be done in
      add_interface.
    
    * Remove pointless check for empty BSSID.
      Also, remove mode checks - mac80211 does all the needed checks.
    
    * Handle enabling/disabling beacon transmission properly.
    
    * Handle beacon interval changes for AP mode.
      The original code depended on config_interface() to update
      the HW TSF. Since that callback has been removed, handle
      it properly.
    
    * Remove unneeded code dealing with key/privacy.
    
    * Set the chainmasks to 1x1 for IBSS when the BSSID is set.
      This was happening uncondionally before.
    Signed-off-by: default avatarSujith <Sujith.Manoharan@atheros.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    c6089ccc
main.c 82.8 KB