mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-24 13:44:06 +01:00
wiphy: Fixes due to nl80211.h changes
This commit is contained in:
parent
ce7d9dcab1
commit
08d31e3b1b
@ -787,7 +787,7 @@ static void setup_scheduled_scan(struct wiphy *wiphy, struct netdev *netdev,
|
|||||||
msg_append_attr(msg, NL80211_ATTR_IFINDEX, 4, &netdev->index);
|
msg_append_attr(msg, NL80211_ATTR_IFINDEX, 4, &netdev->index);
|
||||||
msg_append_attr(msg, NL80211_ATTR_SCHED_SCAN_INTERVAL,
|
msg_append_attr(msg, NL80211_ATTR_SCHED_SCAN_INTERVAL,
|
||||||
4, &scan_interval);
|
4, &scan_interval);
|
||||||
msg_append_attr(msg, NL80211_ATTR_SCAN_SOCKET_OWNER, 0, NULL);
|
msg_append_attr(msg, NL80211_ATTR_SOCKET_OWNER, 0, NULL);
|
||||||
|
|
||||||
if (!l_genl_family_send(nl80211, msg, sched_scan_callback, NULL, NULL))
|
if (!l_genl_family_send(nl80211, msg, sched_scan_callback, NULL, NULL))
|
||||||
l_error("Starting scheduled scan failed");
|
l_error("Starting scheduled scan failed");
|
||||||
|
Loading…
Reference in New Issue
Block a user