• R
    mac80211: pass HT changes to driver when off channel · fe6f212c
    Reinette Chatre 提交于
    Since "mac80211: make off-channel work generic" drivers have not been
    notified of configuration changes after association or authentication. This
    caused more dependence on current state to ensure driver will be notified
    when configuration changes occur. One such problem arises if off-channel is
    in progress when HT information changes. Since HT is only enabled on the
    "oper_channel" the driver will never be notified of this change. Usually
    the driver is notified soon after of a BSS information change
    (BSS_CHANGED_HT) ... but since the driver did not get a notification that
    this is a HT channel the new BSS information does not make sense.
    
    Fix this by also changing the off-channel information when HT is enabled
    and thus cause driver to be notified correctly.
    
    This fixes a problem in 4965 when associated with 5GHz 40MHz channel.
    Without this patch the system can associate but is unable to transfer any
    data, not even ping.
    
    See http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2158Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    fe6f212c
mlme.c 57.8 KB