• John W. Linville's avatar
    iwlwifi: fix sparse warning about wrong enum for band parameter · 20c956df
    John W. Linville authored
    drivers/net/wireless/iwlwifi/iwl-scan.c:386:27: warning: mixing different enum types
    drivers/net/wireless/iwlwifi/iwl-scan.c:386:27:     int enum nl80211_band  versus
    drivers/net/wireless/iwlwifi/iwl-scan.c:386:27:     int enum ieee80211_band
    drivers/net/wireless/iwlwifi/iwl-scan.c:435:57: warning: mixing different enum types
    drivers/net/wireless/iwlwifi/iwl-scan.c:435:57:     int enum ieee80211_band  versus
    drivers/net/wireless/iwlwifi/iwl-scan.c:435:57:     int enum nl80211_band
    drivers/net/wireless/iwlwifi/iwl-scan.c:474:53: warning: mixing different enum types
    drivers/net/wireless/iwlwifi/iwl-scan.c:474:53:     int enum ieee80211_band  versus
    drivers/net/wireless/iwlwifi/iwl-scan.c:474:53:     int enum nl80211_band
    drivers/net/wireless/iwlwifi/iwl-scan.c:588:72: warning: mixing different enum types
    drivers/net/wireless/iwlwifi/iwl-scan.c:588:72:     int enum ieee80211_band  versus
    drivers/net/wireless/iwlwifi/iwl-scan.c:588:72:     int enum nl80211_band
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    20c956df
iwl-scan.c 17.7 KB