Re: Passive Scanning not supported?
Paolo <[email protected]>
| Newsgroups | gmane.linux.drivers.ipw2100.devel |
|---|---|
| Message-ID | <20060727211927.GA1800@pp> |
On Thu, Jul 27, 2006 at 02:04:47PM +0200, Thomas King wrote:
> So, here is my patch that enables the ipw2200 driver to support
> passive scanning as offered by the wireless extensions. For this, I
doesn't apply cleanly to current kernels .16, .17, .18:
*** 9756,9763 ****
union iwreq_data *wrqu, char *extra)
{
struct ipw_priv *priv = ieee80211_priv(dev);
#if WIRELESS_EXT > 17
- struct iw_scan_req *req = NULL;
if (wrqu->data.length
&& wrqu->data.length == sizeof(struct iw_scan_req)) {
req = (struct iw_scan_req *)extra;
--- 9823,9831 ----
union iwreq_data *wrqu, char *extra)
{
struct ipw_priv *priv = ieee80211_priv(dev);
+ struct iw_scan_req* req = NULL;
#if WIRELESS_EXT > 17
+ //struct iw_scan_req *req = NULL;
if (wrqu->data.length
&& wrqu->data.length == sizeof(struct iw_scan_req)) {
req = (struct iw_scan_req *)extra;
-- paolo
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV