cfg80211: restrict AP beacon intervals
commit56d1893d94bc06d0b1aa3a53f924ed02f9e207bf
authorJohannes Berg <johannes.berg@intel.com>
Mon, 9 May 2011 16:41:15 +0000 (9 18:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 May 2011 18:10:47 +0000 (12 14:10 -0400)
tree90862ae6788cf267631bd9ddebf4bc450d0d2b26
parent15cb309614f35df344b9f06a9ea9f077d1e449db
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