On 10/21/2014 12:31 PM, Johannes Berg wrote:

>>      /* give it a proper name */
>> -    dev_set_name(&rdev->wiphy.dev, PHY_NAME "%d", rdev->wiphy_idx);
>> +    if (requested_name && requested_name[0]) {
>> +            struct cfg80211_registered_device *rdev2;
>> +            int wiphy_idx, taken = -1, result, digits;
>> +
>> +            /* Code below is from cfg80211_dev_rename */
> 
> can you refactor this then please?

I'll see what I can do on this, as well as take care of
the rest of the comments.

Thanks,
Ben

-- 
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

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

Reply via email to