|
@@ -132,7 +132,7 @@ u8 libipw_freq_to_channel(struct libipw_device * ieee, u32 freq)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-int libipw_set_geo(struct libipw_device *ieee,
|
|
|
+void libipw_set_geo(struct libipw_device *ieee,
|
|
|
const struct libipw_geo *geo)
|
|
|
{
|
|
|
memcpy(ieee->geo.name, geo->name, 3);
|
|
@@ -143,7 +143,6 @@ int libipw_set_geo(struct libipw_device *ieee,
|
|
|
sizeof(struct libipw_channel));
|
|
|
memcpy(ieee->geo.a, geo->a, ieee->geo.a_channels *
|
|
|
sizeof(struct libipw_channel));
|
|
|
- return 0;
|
|
|
}
|
|
|
|
|
|
const struct libipw_geo *libipw_get_geo(struct libipw_device *ieee)
|