]> git.ipfire.org Git - thirdparty/hostap.git/commit
MBO: Fix minimum length check on non_pref_chan configuration
authorAshwini Patil <c_apati@qti.qualcomm.com>
Fri, 24 Feb 2017 08:01:54 +0000 (13:31 +0530)
committerJouni Malinen <j@w1.fi>
Sun, 26 Feb 2017 10:26:22 +0000 (12:26 +0200)
commitdca4b503f13500f5dfd1e56d440622ceb0ee2660
tree7cba96ebad9a3e4725374fe3466c972601918e07
parent5b9f46df0e19111a64c6036df59076f879777988
MBO: Fix minimum length check on non_pref_chan configuration

The reason detail field in non_pref_chan attribute was removed
from MBO draft v0.0_r25. Also oper_class can be 1 character for
few country codes (e.g., country code-UK, channel number-1). So the
shortest channel configuration is 7 characters.

This was missed in the earlier commit
4a83d4b6861f6627b6b256b8c126547a19409a70 ('MBO: Do not add reason_detail
in non_pref_chan attr (STA)') that took care of other changes related to
removal of the reason detail.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/mbo.c