Fix issue with incorrect secondary_channel in HT40/HT80
authorPawel Kulakowski <pawel.kulakowski@tieto.com>
Wed, 26 Mar 2014 12:18:29 +0000 (13:18 +0100)
committerJouni Malinen <j@w1.fi>
Thu, 27 Mar 2014 13:22:39 +0000 (15:22 +0200)
commit74a1319e5037ad04c6a4e09bfd514087849b28b9
tree3a686f9c3ee1d8d1c564c5219faca706707a320c
parent96ecea5eb14cc1362cb01b914ac4163324294a28
Fix issue with incorrect secondary_channel in HT40/HT80

When primary and secondary channel were switched and config was
reloaded, secondary channel was incorrectly overwritten.

Proceed as for other settings that should not be changed and don't
allow to overwrite.

Signed-off-by: Pawel Kulakowski <pawel.kulakowski@tieto.com>
src/ap/hostapd.c