]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/mac80211/scan.c
net: fix assignment of 0/1 to bool variables.
[mirror_ubuntu-artful-kernel.git] / net / mac80211 / scan.c
index 2c5041cc71f81556dbbb970355def8f546d52542..2c9b493af249c24888f5c66b8055eca95bb07b71 100644 (file)
@@ -106,7 +106,7 @@ ieee80211_bss_info_update(struct ieee80211_local *local,
        /* save the ERP value so that it is available at association time */
        if (elems->erp_info && elems->erp_info_len >= 1) {
                bss->erp_value = elems->erp_info[0];
-               bss->has_erp_value = 1;
+               bss->has_erp_value = true;
        }
 
        if (elems->tim) {