• Hong Liu's avatar
    [Bug 455] Fix frequent channel change generates firmware fatal error. · 7b99659f
    Hong Liu authored
    Because of the frequent channel change, it is possible that when we are
    try to associate with channel 1 (authenticated but not associated).
    Another channel change comes at this time, then the driver will issue
    disassociate command to the firmware which will cause the fatal error.
    
    It seems that the association/disassociation procedure should not be
    interrupted.
    
    The patch attached adds test on STATUS_ASSOCIATING | STATUS_DISASSOCIATING
    in ipw_send_cmd(), when ensures that commands will not be sent to firmware
    when we are in these two status.
    Signed-off-by: default avatarHong Liu <hong.liu@intel.com>
    Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
    7b99659f
ipw2200.c 307 KB