[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] device_get_status

From: StefanSiegl
Subject: [patch] device_get_status
Date: Sun, 24 Sep 2006 19:50:05 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello folks,

the wireless tools for GNU Mach use the `device_get_status' function
of ethernet devices to access the ioctl (read) routines of the
underlying wireless driver.

When writing the glue code I obviously got something wrong,
especially reading from STATUS in the device_get_status function is
not a good idea.  This didn't hurt much so far, since it affects
only those ioctls, that require a `struct iw_point' argument (mainly
get-essid, get-nickname and get-range).  

On the whole it probably was just by accident that iwconfig works.

  - % -

2006-09-24  Stefan Siegl  <stesie@brokenpipe.de>

        * linux/dev/glue/net.c (device_get_status): Reworked to not read
        from STATUS.  Fill `struct iw_point' correctly if necessary.

  - % -

Patch should be attached.

Okay to apply?


PS: With the patch, the `iwlist' command from the wireless-tools[1]
should work. However scanning unfortunately still does not work,
since the wireless extensions in the GNU Mach kernel are way too old
(version 13 is required, we've got version 10 so far)

[1] http://cvs.brokenpipe.de/cgi-bin/viewcvs.cgi/wireless-tools-gnumach/

StefanSiegl <stesie@brokenpipe.de>

Attachment: net.c.diff
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]