All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] staging: vt6655: check ieee80211_bss_conf bssid not NULL
@ 2015-07-09 16:01 Malcolm Priestley
  2015-07-09 16:01 ` [PATCH 2/4 v2] staging: vt6655: Fix missing power saving support Malcolm Priestley
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Malcolm Priestley @ 2015-07-09 16:01 UTC (permalink / raw)
  To: gregkh; +Cc: linux-wireless, Malcolm Priestley, stable

Sometimes bssid can go null on failed association.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: <stable@vger.kernel.org> # v3.19+
---
 drivers/staging/vt6655/device_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index ed040fb..b0c8e23 100644
--- 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);
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-15  2:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09 16:01 [PATCH 1/4] staging: vt6655: check ieee80211_bss_conf bssid not NULL Malcolm Priestley
2015-07-09 16:01 ` [PATCH 2/4 v2] staging: vt6655: Fix missing power saving support Malcolm Priestley
2015-07-15  2:28   ` Greg KH
2015-07-09 16:01 ` [PATCH 3/4] staging: vt6655: vnt_tx_packet don't wakeup from power saving Malcolm Priestley
2015-07-09 16:01 ` [PATCH 4/4] staging: vt6655: Correct listen interval TBTT wake up Malcolm Priestley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.