mac80211: fix bss_conf.dtim_period
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 5 Feb 2010 10:45:06 +0000 (11:45 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Feb 2010 21:50:57 +0000 (16:50 -0500)
commit19885c4fbd79439efd6b3798bfb73f2f30e27104
treeee15587e44a35885d7b77a698bc07dd0263fec62
parent199d69f27326858b16449eb1cc1623299db64415
mac80211: fix bss_conf.dtim_period

In AP mode, the only mode where the parameter
is supposed to be valid, we never assign it!
Fix that to allow drivers to avoid parsing
the TIM IE for the value.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c