cfg80211: validate IBSS BSSID
authorJohannes Berg <johannes.berg@intel.com>
Fri, 16 Sep 2011 11:45:25 +0000 (13:45 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 19 Sep 2011 20:10:13 +0000 (16:10 -0400)
commit39193498913f82dd7e484aa908843ca4114c3b0c
tree14951970eaaa7c66a1e6b2f820b5f7cae8d2280a
parentbbb5574224168ef62c8549535c0d0a99e989ecf3
cfg80211: validate IBSS BSSID

The IBSS BSSID is never validated, so an
invalid one might end up being used. Fix
this by rejecting invalid configuration.

Reported-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c