OSDN Git Service

ath9k: validate for non-zero BSSID
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Wed, 7 Dec 2011 11:21:38 +0000 (16:51 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Dec 2011 14:27:56 +0000 (09:27 -0500)
commit356cb55d81d1692bd74b96c71deeb7e1cf956196
tree49a38e815bd2caf80eec8ef5d6ab73696c0fa712
parentd66be8294289346ceba4c6abc022954b682d4959
ath9k: validate for non-zero BSSID

before concluding that the recieved beacon is for us, let us make sure
that the BSSID is non-zero. when I configured ad-hoc mode as creator and
left it for some time without joining I found we recieved few frames whose
BSSID is zero, which we concluded wrongly as 'my_beacons'

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c