Thread (46 messages) 46 messages, 3 authors, 2017-08-30

Re: [PATCH 03/27] qtnfmac: retreive current channel info from EP

From: Sergey Matyukevich <hidden>
Date: 2017-08-29 14:42:17

Typo in commit title: retrieve

...
-	if (!cfg80211_chandef_valid(&mac->chandef)) {
-		pr_err("invalid channel settings on %s\n", ndev->name);
-		return -ENODATA;
+	if (!cfg80211_chandef_valid(chandef)) {
+		pr_err("%s: bad chan freq1=%u bw=%u\n", ndev->name,
+		       chandef->center_freq1, chandef->width);
+		ret = -ENODATA;
 	}
Lets keep both center_freq1 and center_freq2 in error message.

Regards,
Sergey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help