diff options
author | maximsch2 <maximsch2> | 2006-06-22 11:14:16 +0000 |
---|---|---|
committer | maximsch2 <maximsch2> | 2006-06-22 11:14:16 +0000 |
commit | 9f63aa67364c5625213ad9d4055d4d91f7db185a (patch) | |
tree | 6abecd6a2ea35d9a21d1b1b89c9601b2edc677ad | |
parent | a2600beeec56455cac02a12806d239b4a91b98f9 (diff) |
Another attempt to fix wrqu error.version_0_13rc2
-rw-r--r-- | at76c503.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,5 +1,5 @@ /* -*- linux-c -*- */ -/* $Id: at76c503.c,v 1.78 2006/06/22 10:58:31 maximsch2 Exp $ +/* $Id: at76c503.c,v 1.79 2006/06/22 11:14:16 maximsch2 Exp $ * * USB at76c503/at76c505 driver * @@ -5564,7 +5564,7 @@ int at76c503_iw_handler_get_waplist(struct net_device *netdev, static int at76c503_iw_handler_set_scan(struct net_device *netdev, IW_REQUEST_INFO *info, - struct iw_param *param, + struct iw_point *data, char *extra) { struct at76c503 *dev = (struct at76c503*)netdev->priv; @@ -5598,8 +5598,8 @@ int at76c503_iw_handler_set_scan(struct net_device *netdev, } // Try to do passive or active scan if WE asks as. #if WIRELESS_EXT > 19 -/* if (wrqu->data.length - && wrqu->data.length == sizeof(struct iw_scan_req)) { */ + if (data->length + && data->length == sizeof(struct iw_scan_req)) { req = (struct iw_scan_req *)extra; if (req->scan_type == IW_SCAN_TYPE_PASSIVE) @@ -5620,7 +5620,7 @@ int at76c503_iw_handler_set_scan(struct net_device *netdev, else dev->scan_max_time = req->max_channel_time; } -/* } */ Attempt to fix error about undeclared wrqu. + } #endif // change to scanning state @@ -7296,7 +7296,7 @@ int init_new_device(struct at76c503 *dev) else dev->rx_data_fcs_len = 4; - info("$Id: at76c503.c,v 1.78 2006/06/22 10:58:31 maximsch2 Exp $ compiled %s %s", __DATE__, __TIME__); + info("$Id: at76c503.c,v 1.79 2006/06/22 11:14:16 maximsch2 Exp $ compiled %s %s", __DATE__, __TIME__); info("firmware version %d.%d.%d #%d (fcs_len %d)", dev->fw_version.major, dev->fw_version.minor, dev->fw_version.patch, dev->fw_version.build, |