staging: vt6655: vnt_bss_info_changed check conf->beacon_rate is not NULL
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 2 Aug 2015 11:34:46 +0000 (12:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Aug 2015 00:54:51 +0000 (17:54 -0700)
commit1f17124006b65482d9084c01e252b59dbca8db8f
tree3054d7d55a2f961f64f4c40cfaf37b67aeec6b8f
parent40c3ef9d2f14cce91dbd6ae9c9ccf6210d8c5df7
staging: vt6655: vnt_bss_info_changed check conf->beacon_rate is not NULL

conf->beacon_rate can be NULL on association. So check conf->beacon_rate

BSS_CHANGED_BEACON_INFO needs to flagged in changed as the beacon_rate
will appear later.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: <stable@vger.kernel.org> # v3.19+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c