]> git.ipfire.org Git - thirdparty/hostap.git/commit
wlantest: Fix the injection of protected broadcast frames
authorChaitanya T K <chaitanyatk@posedge.com>
Sat, 4 May 2013 08:36:28 +0000 (11:36 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 4 May 2013 08:36:28 +0000 (11:36 +0300)
commit409cd147b7a0685cbcae180c4d81526dd10b9159
tree7176076c2fd63032b6277ef28a2c4311b39523ef
parentb691dcb129b09d42a1740a1706d28bc6562e7fa0
wlantest: Fix the injection of protected broadcast frames

Injecting protected broadcast frames fails because of the unnecessary
null check for sta. In case of broadcast frames sta can be null, so
remove the check.

Reported-by: Janardhan R <janardhanr@posedge.com>
Signed-hostap: Chaitanya T K <chaitanyatk@posedge.com>
wlantest/inject.c