Skip to content
Snippets Groups Projects
  • Hannu Nyman's avatar
    c69a89fe
    mac80211: ath10k: allow failure getting board id via otp · c69a89fe
    Hannu Nyman authored
    
    ath10k tries to fetch board id via otp, but that fails for many chips
    like QCA988x, QCA9984 etc. Recent commit cc189c0b removed the earlier
    hack that had allowed QCA radios to work, as that hack was incompatible
    with the new wifi chips being introduced to the source tree.
    
    Restore functionality for the existing wifi chips by modifying the
    return value of the 'board id via otp' function to a value that is recognised
    as a harmless error, so that name evaluation continues by using the board file.
    
    Patch originally suggested by Christian Lamparter in forum discussion.
    
    Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
    c69a89fe
    History
    mac80211: ath10k: allow failure getting board id via otp
    Hannu Nyman authored
    
    ath10k tries to fetch board id via otp, but that fails for many chips
    like QCA988x, QCA9984 etc. Recent commit cc189c0b removed the earlier
    hack that had allowed QCA radios to work, as that hack was incompatible
    with the new wifi chips being introduced to the source tree.
    
    Restore functionality for the existing wifi chips by modifying the
    return value of the 'board id via otp' function to a value that is recognised
    as a harmless error, so that name evaluation continues by using the board file.
    
    Patch originally suggested by Christian Lamparter in forum discussion.
    
    Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>