Search Linux Wireless

Re: [PATCH 07/15] iwlwifi: add device ID information support by testmode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2011-12-10 at 09:51 -0800, Johannes Berg wrote:
> On Thu, 2011-12-08 at 16:26 -0800, Wey-Yi Guy wrote:
> 
> > +	case IWL_TM_CMD_APP2DEV_GET_DEVICE_ID:
> > +		bus_get_hw_id(bus(priv), buf, sizeof(buf));
> > +		ptr = buf;
> > +		strsep(&ptr, ":");
> > +		sscanf(strsep(&ptr, ":"), "%x", &num);
> > +		sscanf(strsep(&ptr, ":"), "%x", &devid);
> 
> This is kinda ugly too ... sorry, should've seen it earlier.

has to agree, will move to wiphy->hw_version 

Wey
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux