qtnfmac: inform wireless core about supported extended capabilities
Driver retrieves information about supported extended capabilities from wireless card. However this information is not propagated further to Linux wireless core. Fix this by setting extended capabilities fields of wiphy structure. Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
d5657b709e
commit
ab1c64a1d3
@@ -1273,8 +1273,7 @@ static int qtnf_parse_variable_mac_info(struct qtnf_wmac *mac,
|
||||
ext_capa_mask = NULL;
|
||||
}
|
||||
|
||||
kfree(mac->macinfo.extended_capabilities);
|
||||
kfree(mac->macinfo.extended_capabilities_mask);
|
||||
qtnf_mac_ext_caps_free(mac);
|
||||
mac->macinfo.extended_capabilities = ext_capa;
|
||||
mac->macinfo.extended_capabilities_mask = ext_capa_mask;
|
||||
mac->macinfo.extended_capabilities_len = ext_capa_len;
|
||||
|
Reference in New Issue
Block a user