[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061213204328.765b8672@localhost.localdomain>
Date: Wed, 13 Dec 2006 20:43:28 -0800
From: Stephen Hemminger <shemminger@...l.org>
To: yi.zhu@...el.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 6/6] d80211: add sysfs interface for QoS functions
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists