Refactor the function to make it easier to extend. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Attach a file by drag & drop or click to upload