nl80211: Fix channel switching with VHT80
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 28 Jan 2014 13:56:41 +0000 (14:56 +0100)
committerJouni Malinen <j@w1.fi>
Thu, 30 Jan 2014 11:58:48 +0000 (13:58 +0200)
commit4b0f2282cb398c05adeb95d30f93a30966bb82bd
treee907e41224c0c75e642ae25b9ea99d7713b159ee
parente28f39b7e93565bb54b6c75de1e588d952caba11
nl80211: Fix channel switching with VHT80

It is possible for channel switch notification to be missing channel
type attribute. This is true at least for VHT80. This led to
iface->conf->secondary_channel being set to 0. This in turn made
subsequent DFS-triggered CSA to fail due to invalid frequency
parameters.

Signed-hostap: Michal Kazior <michal.kazior@tieto.com>
src/drivers/driver_nl80211.c