commit | 51b50fbeb574f581c0b112e035541f42fa3e604a | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Sun May 24 16:42:30 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Jun 03 14:05:10 2009 -0400 |
tree | 2e2b75a4863b7d9d9b8bcdd3cf56be66414d83bb | |
parent | 6b347bff145f9a8a0972ca8fc3c44dd1f91b0f16 [diff] |
cfg80211: validate AID of stations being added We have some validation code in mac80211 but said code will force an invalid AID to 0 which isn't a valid AID either; instead require a valid AID (1-2007) to be passed in from userspace in cfg80211 already. Also move the code before the race comment since it can only be executed during STA addition and thus is not racy. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>