projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f451957
)
staging: vt6655: check ieee80211_bss_conf bssid not NULL
author
Malcolm Priestley
<tvboxspy@gmail.com>
Thu, 9 Jul 2015 16:01:24 +0000
(17:01 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 19 Jul 2015 10:48:19 +0000
(11:48 +0100)
Sometimes bssid can go null on failed association.
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
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6655/device_main.c
b/drivers/staging/vt6655/device_main.c
index ed040fbb7df8d319ba39b61acf2009a163bf3745..b0c8e235b982164bb170b53655ccfc8d01378d6b 100644
(file)
--- a/
drivers/staging/vt6655/device_main.c
+++ b/
drivers/staging/vt6655/device_main.c
@@
-1418,7
+1418,7
@@
static void vnt_bss_info_changed(struct ieee80211_hw *hw,
priv->current_aid = conf->aid;
- if (changed & BSS_CHANGED_BSSID) {
+ if (changed & BSS_CHANGED_BSSID
&& conf->bssid
) {
unsigned long flags;
spin_lock_irqsave(&priv->lock, flags);