Comments

From: Ilan Peer <ilan.peer@intel.com>
In case that NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP is supported,
wiphy_info_handler() is called several times, where
NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION is present only in one
of these calls. Thus capa->max_remain_on_chan is overridden in
all other calls.
Fix it so the default value is set only after all the wiphy info was
received
Signed-hostap: Ilan Peer <ilan.peer@intel.com>
---
src/drivers/driver_nl80211.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

On Thu, May 02, 2013 at 10:31:01AM +0300, ilan.peer@intel.com wrote:
> In case that NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP is supported,> wiphy_info_handler() is called several times, where> NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION is present only in one> of these calls. Thus capa->max_remain_on_chan is overridden in> all other calls.> > Fix it so the default value is set only after all the wiphy info was> received
Thanks, applied.