ARM: OMAP2+: Fix booting with configs that don't have MFD_SYSCON
[firefly-linux-kernel-4.4.55.git] / net / ieee802154 / sysfs.c
index 1613b9c65dfa15aafd154042e60abc44517bc9d6..dff55c2d87f34fb8304f7b19d321bc3a08813ee7 100644 (file)
@@ -68,7 +68,7 @@ static DEVICE_ATTR_RO(name)
 MASTER_SHOW(current_channel, "%d");
 MASTER_SHOW(current_page, "%d");
 MASTER_SHOW(transmit_power, "%d +- 1 dB");
-MASTER_SHOW(cca_mode, "%d");
+MASTER_SHOW_COMPLEX(cca_mode, "%d", phy->cca.mode);
 
 static ssize_t channels_supported_show(struct device *dev,
                                       struct device_attribute *attr,