/[base]
ViewVC logotype

Revision 287029


Jump to revision: Previous Next
Author: adrian
Date: Sun Aug 23 01:17:52 2015 UTC (8 years, 10 months ago)
Changed paths: 1
Log Message:
Reset the channel to the first available channel if the interface
is configured on a channel that isn't valid in the new operating mode.

This isn't strictly true - it should find the first channel that is
available for the given operating mode.

However, I think defaulting to the first channel is fine - it's typically
available for all modes.

If someone would like to correctly implement this feature - try to
find a channel that is valid for the given operating mode and error
out if we can't find one.

This prevents various NICs (eg wpi(4)) from throwing a firmware error.

Tested:

* ath(4), STA/AP mode
* iwn(4), STA/adhoc mode

PR:		kern/202502
Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>


Changed paths

Path Details
Directoryhead/sys/net80211/ieee80211_proto.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27