Commit a0b6106
ieee802154: Convert scan error messages to extack
Instead of printing error messages in the kernel log, let's use extack.
When there is a netlink error returned that could be further specified
with a string, use extack as well.
Apply this logic to the very recent scan/beacon infrastructure.
Fixes: ed3557c ("ieee802154: Add support for user scanning requests")
Fixes: 9bc1145 ("ieee802154: Add support for user beaconing requests")
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20230214135035.1202471-3-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>1 parent 648324c commit a0b6106
1 file changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1407 | 1407 | | |
1408 | 1408 | | |
1409 | 1409 | | |
1410 | | - | |
1411 | | - | |
| 1410 | + | |
| 1411 | + | |
1412 | 1412 | | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
1413 | 1419 | | |
1414 | 1420 | | |
1415 | 1421 | | |
| |||
1424 | 1430 | | |
1425 | 1431 | | |
1426 | 1432 | | |
1427 | | - | |
| 1433 | + | |
1428 | 1434 | | |
1429 | 1435 | | |
1430 | 1436 | | |
| |||
1576 | 1582 | | |
1577 | 1583 | | |
1578 | 1584 | | |
1579 | | - | |
1580 | | - | |
| 1585 | + | |
| 1586 | + | |
1581 | 1587 | | |
| 1588 | + | |
1582 | 1589 | | |
1583 | 1590 | | |
1584 | | - | |
| 1591 | + | |
1585 | 1592 | | |
1586 | 1593 | | |
1587 | 1594 | | |
| |||
0 commit comments