static inline int wext_freq2mhz(const struct iw_freq *in)
{
- int i;
-
if( in->e == 6 )
{
return in->m;
return -1;
}
+static int wext_get_center_chan1(const char *ifname, int *buf)
+{
+ /* Not Supported */
+ return -1;
+}
+
+static int wext_get_center_chan2(const char *ifname, int *buf)
+{
+ /* Not Supported */
+ return -1;
+}
+
static int wext_get_frequency(const char *ifname, int *buf)
{
struct iwreq wrq;
.name = "wext",
.probe = wext_probe,
.channel = wext_get_channel,
+ .center_chan1 = wext_get_center_chan1,
+ .center_chan2 = wext_get_center_chan2,
.frequency = wext_get_frequency,
.frequency_offset = wext_get_frequency_offset,
.txpower = wext_get_txpower,