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