From: Johannes Berg Date: Sun, 24 May 2009 14:42:30 +0000 (+0200) Subject: cfg80211: validate AID of stations being added X-Git-Tag: v2.6.31-rc1~330^2~157^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51b50fbeb574f581c0b112e035541f42fa3e604a;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed