diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-08-25 16:44:11 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-08-25 16:44:11 -1000 |
commit | 1c2f59f0d1f9876d4fb15ff69812cf8d55f25461 (patch) | |
tree | 69c71d9528e3b6a322b4843dc0a4473105bd9558 /isys/isys.c | |
parent | bf30dd85aac92dce3f0d398aa320ebf88a76be6d (diff) | |
download | anaconda-1c2f59f0d1f9876d4fb15ff69812cf8d55f25461.tar.gz anaconda-1c2f59f0d1f9876d4fb15ff69812cf8d55f25461.tar.xz anaconda-1c2f59f0d1f9876d4fb15ff69812cf8d55f25461.zip |
Rewrite isys.isWireless() to use D-Bus and NetworkManager
Removed the wireless.c and wireless.h code from isys, since
isWireless() in isys.py communicates with NetworkManager now.
Diffstat (limited to 'isys/isys.c')
-rw-r--r-- | isys/isys.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/isys/isys.c b/isys/isys.c index 45d45941c..958baba81 100644 --- a/isys/isys.c +++ b/isys/isys.c @@ -131,7 +131,6 @@ static PyObject * doGetMacAddress(PyObject * s, PyObject * args); static PyObject * doMatchPathContext(PyObject * s, PyObject * args); static PyObject * doSetFileContext(PyObject * s, PyObject * args); #endif -static PyObject * isWireless(PyObject * s, PyObject * args); static PyObject * doProbeBiosDisks(PyObject * s, PyObject * args); static PyObject * doGetBiosDisk(PyObject * s, PyObject * args); static PyObject * doSegvHandler(PyObject *s, PyObject *args); @@ -182,7 +181,6 @@ static PyMethodDef isysModuleMethods[] = { { "matchPathContext", (PyCFunction) doMatchPathContext, METH_VARARGS, NULL }, { "setFileContext", (PyCFunction) doSetFileContext, METH_VARARGS, NULL }, #endif - { "isWireless", (PyCFunction) isWireless, METH_VARARGS, NULL }, { "biosDiskProbe", (PyCFunction) doProbeBiosDisks, METH_VARARGS,NULL}, { "getbiosdisk",(PyCFunction) doGetBiosDisk, METH_VARARGS,NULL}, { "handleSegv", (PyCFunction) doSegvHandler, METH_VARARGS, NULL }, @@ -967,18 +965,6 @@ static PyObject * doGetMacAddress(PyObject * s, PyObject * args) { return Py_BuildValue("s", ret); } -static PyObject * isWireless(PyObject * s, PyObject * args) { - char *dev; - int ret; - - if (!PyArg_ParseTuple(args, "s", &dev)) - return NULL; - - ret = is_wireless_interface(dev); - - return Py_BuildValue("i", ret); -} - #ifdef USESELINUX static PyObject * doMatchPathContext(PyObject * s, PyObject * args) { char *fn, *buf = NULL; |