mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-05 18:29:47 -05:00
staging: vt6656: check ieee80211_bss_conf bssid not NULL
Sometimes bssid can go null on failed association. Signed-off-by: Malcolm Priestley <[email protected]> Cc: <[email protected]> # v3.17+ Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
8e8e919892
commit
d309509f84
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue