Commit 39aef0c3 authored by Wen-chien Jesse Sung's avatar Wen-chien Jesse Sung Committed by Stefan Bader

Revert "UBUNTU: SAUCE: net/wireless: do not dereference invalid pointer"

BugLink: https://launchpad.net/bugs/1769671

This reverts the workaround commit f21d1278
for integrating the fix.
Signed-off-by: default avatarWen-chien Jesse Sung <jesse.sung@canonical.com>
Acked-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Acked-by: default avatarPo-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent 12e26a3e
......@@ -121,7 +121,7 @@ struct ieee80211_channel *__ieee80211_get_channel(struct wiphy *wiphy,
int i;
for (band = 0; band < IEEE80211_NUM_BANDS; band++) {
sband = wiphy ? wiphy->bands[band] : NULL;
sband = wiphy->bands[band];
if (!sband)
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment