qtnfmac: change default interface mode from AP to STA
To mimic mac80211 behaviour, change default interface type from AP to STA. Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
b05ee456fd
commit
e6ef8cd051
@@ -190,7 +190,7 @@ static struct wireless_dev *qtnf_add_virtual_intf(struct wiphy *wiphy,
|
||||
goto err_mac;
|
||||
}
|
||||
|
||||
if (qtnf_core_net_attach(mac, vif, name, name_assign_t, type)) {
|
||||
if (qtnf_core_net_attach(mac, vif, name, name_assign_t)) {
|
||||
pr_err("VIF%u.%u: failed to attach netdev\n", mac->macid,
|
||||
vif->vifid);
|
||||
goto err_net;
|
||||
|
Reference in New Issue
Block a user