projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42e0bb4
)
staging: vt6656: check ieee80211_bss_conf bssid not NULL
author
Malcolm Priestley
<tvboxspy@gmail.com>
Thu, 9 Jul 2015 16:03:57 +0000
(17:03 +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.17+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6656/main_usb.c
b/drivers/staging/vt6656/main_usb.c
index
f97323f
..
af572d7
100644
(file)
--- a/
drivers/staging/vt6656/main_usb.c
+++ b/
drivers/staging/vt6656/main_usb.c
@@
-701,7
+701,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
)
vnt_mac_set_bssid_addr(priv, (u8 *)conf->bssid);