]> git.ipfire.org Git - network.git/blobdiff - src/hooks/ports/wireless-ap
hostapd: Apply channel bandwidth to configuration
[network.git] / src / hooks / ports / wireless-ap
index 5e000146163e7fa1438ab712dd0f9874ae652ae4..983f0f970fadb704014f7a8c2eed72e79ece7208 100644 (file)
@@ -127,7 +127,7 @@ hook_parse_cmdline() {
 
        # Channel bandwidth must match the mode
        if isset CHANNEL_BANDWIDTH && ! wireless_channel_bandwidth_is_valid "${MODE}" "${CHANNEL_BANDWIDTH}"; then
-               error "Channel Bandwidth '${CHANNEL_BANDWIDTH}' is not supported"
+               error "Channel Bandwidth '${CHANNEL_BANDWIDTH}' is not supported for ${MODE}"
                return ${EXIT_ERROR}
        fi