libwifi: util: split function wifi_cap_set_from_ie
Function to convert data from information elements into wifi capabilities can be split to smaller pieces which can be reused later.
Signed-off-by: Marek Puzyniak marek.puzyniak@iopsys.eu
@anjancx I have follow up patches for mtk that uses functions I separated in this commit. I hope this patch does not brake anything for other drivers.
@janusz If you have time please also look at this patch if it is ok.