Skip to content
GitLab
  • Explore
  • Sign in
  • Register
  • xcap
  • xcap-capability-linux
  • Repository
  • xcap-capability-linux
  • net
  • mac80211
  • cfg.c
Find file Blame History Permalink
  • Reinette Chatre's avatar
    mac80211: remove WARN_ON() from ieee80211_hw_config · 447107fb
    Reinette Chatre authored Dec 04, 2008
    
    
    ieee80211_hw_config can return an error when the hardware
    has rfkill enabled. A WARN_ON() is too harsh for this
    failure as it is a valid scenario. Only comment this warning
    as we would like to have it back when rfkill is integrated into
    mac80211.
    
    Also reintroduce propagation of error if ieee80211_hw_config fails
    in ieee80211_config_beacon.
    
    This patch partially reverts patch:
    5f0387fc3337ca26f0745f945f550f0c3734960f
    "mac80211: clean up ieee80211_hw_config errors"
    
    Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    447107fb