O
> +static ssize_t store_tspec(struct class_device *dev, const char *buf,
> + size_t len)
> +{
> + if (sscanf(buf, "%hu %hu %u %u %u %u %u %u %u %u %u %u %u %hu %hu",
> + &_tspec.nominal_msdu_size,
> + &_tspec.max_msdu_size,
> + &_tspec.min_service_interval,
> + &_tspec.max_service_interval,
> + &_tspec.inactivity_interval,
> + &_tspec.suspension_interval,
> + &_tspec.service_start_time,
> + &_tspec.min_data_rate,
> + &_tspec.mean_data_rate,
> + &_tspec.peak_data_rate,
> + &_tspec.burst_size,
> + &_tspec.delay_bound,
> + &_tspec.min_phy_rate,
> + &_tspec.surplus_band_allow,
> + &_tspec.medium_time) != 15) {
> + printk(KERN_ERR "%s: sscanf error\n", __FUNCTION__);
> +
One value per file please!
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html