mac80211: don't allow invalid WDS peer addresses
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 24 Apr 2008 12:16:36 +0000 (14:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 1 May 2008 00:34:26 +0000 (20:34 -0400)
commite94e106831403d5028e7bb73c3163951134de1ba
tree9d27e03504f390a747c4ef36e6bb93e0cd2c1f8e
parent8b808bf29bdafe9270cb283ea093bb87f5a3be19
mac80211: don't allow invalid WDS peer addresses

Rather than just disallowing the zero address, disallow all
invalid ones.

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