From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.01.org
Subject: [PATCH v2 2/7] wiphy: integrate radio management module
Date: Thu, 25 Jun 2020 11:56:40 -0700 [thread overview]
Message-ID: <20200625185645.30122-3-prestwoj@gmail.com> (raw)
In-Reply-To: <20200625185645.30122-1-prestwoj@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 879 bytes --]
Tie wiphy creation/destruction to radio management
---
src/wiphy.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/wiphy.c b/src/wiphy.c
index aef39549..49215fe3 100644
--- a/src/wiphy.c
+++ b/src/wiphy.c
@@ -53,6 +53,7 @@
#include "src/watchlist.h"
#include "src/nl80211util.h"
#include "src/nl80211cmd.h"
+#include "src/radio_mgmt.h"
#define EXT_CAP_LEN 10
@@ -1235,6 +1236,8 @@ void wiphy_create_complete(struct wiphy *wiphy)
wiphy_get_reg_domain(wiphy);
wiphy_print_basic_info(wiphy);
+
+ radio_mgmt_create_from_wiphy(wiphy);
}
bool wiphy_destroy(struct wiphy *wiphy)
@@ -1247,6 +1250,8 @@ bool wiphy_destroy(struct wiphy *wiphy)
if (wiphy->registered)
l_dbus_unregister_object(dbus_get_bus(), wiphy_get_path(wiphy));
+ radio_mgmt_destroy(wiphy);
+
wiphy_free(wiphy);
return true;
}
--
2.21.1
next prev parent reply other threads:[~2020-06-25 18:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-25 18:56 [PATCH v2 0/7] Radio Management Module James Prestwood
2020-06-25 18:56 ` [PATCH v2 1/7] radio_mgmt: introduce new radio management module James Prestwood
2020-06-25 18:56 ` James Prestwood [this message]
2020-06-25 18:56 ` [PATCH v2 3/7] frame-xchg: refactor to use " James Prestwood
2020-06-25 18:56 ` [PATCH v2 4/7] anqp: refactor to use frame-xchg James Prestwood
2020-06-25 18:56 ` [PATCH v2 5/7] scan: refactor to use radio management module James Prestwood
2020-06-25 18:56 ` [PATCH v2 6/7] network: use radio management for connections James Prestwood
2020-06-25 18:56 ` [PATCH v2 7/7] station: remove ANQP watch James Prestwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200625185645.30122-3-prestwoj@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox