diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00config.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00config.c b/drivers/net/wireless/rt2x00/rt2x00config.c index d134c3be539a..ea37c7962043 100644 --- a/drivers/net/wireless/rt2x00/rt2x00config.c +++ b/drivers/net/wireless/rt2x00/rt2x00config.c | |||
@@ -245,6 +245,10 @@ config: | |||
245 | memcpy(&libconf.rf, | 245 | memcpy(&libconf.rf, |
246 | &rt2x00dev->spec.channels[conf->channel->hw_value], | 246 | &rt2x00dev->spec.channels[conf->channel->hw_value], |
247 | sizeof(libconf.rf)); | 247 | sizeof(libconf.rf)); |
248 | |||
249 | memcpy(&libconf.channel, | ||
250 | &rt2x00dev->spec.channels_info[conf->channel->hw_value], | ||
251 | sizeof(libconf.channel)); | ||
248 | } | 252 | } |
249 | 253 | ||
250 | if (flags & CONFIG_UPDATE_ANTENNA) { | 254 | if (flags & CONFIG_UPDATE_ANTENNA) { |