]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: restrict AP beacon intervals
authorJohannes Berg <johannes.berg@intel.com>
Mon, 9 May 2011 16:41:15 +0000 (18:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 May 2011 18:10:47 +0000 (14:10 -0400)
commit890b62e3befc733b7eaafe984a01fe22b47e1c04
tree90862ae6788cf267631bd9ddebf4bc450d0d2b26
parent9c4888f145de96b54080b7b9d75bd3d416ccb490
cfg80211: restrict AP beacon intervals

Multiple virtual AP interfaces can currently try
to use different beacon intervals, but that just
leads to problems since it won't actually be done
that way by drivers. Return an error in this case
to make sure it won't be done wrong.

Also, ignore attempts to change the DTIM period
or beacon interval during the lifetime of the BSS.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/wireless/core.c
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/util.c