Andrew Lunn
9db299c736
net: phy: Fix ioctl handler when modifing MII_ADVERTISE
...
When the MII_ADVERTISE register is modified by the IOCTL handler,
phydev->advertising needs recalculating. Use the _mod_ variant of
mii_adv_to_linkmode_adv_t so that bits outside of the advertise
registers are not cleared.
Fixes: c0ec3c273677 ("net: phy: Convert u32 phydev->lp_advertising to linkmode")
Reported-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-05 16:26:16 -08:00
..
2018-11-11 09:36:56 -08:00
2018-11-11 10:10:01 -08:00
2018-04-19 16:11:10 -04:00
2018-11-11 09:36:56 -08:00
2018-11-07 21:50:27 -08:00
2018-11-11 10:10:01 -08:00
2018-11-11 10:10:01 -08:00
2018-05-23 15:27:01 -04:00
2018-05-26 19:46:15 -04:00
2018-05-23 15:27:01 -04:00
2018-11-11 17:57:54 -08:00
2018-11-11 09:36:56 -08:00
2018-03-01 21:23:35 -05:00
2018-11-11 09:36:56 -08:00
2018-11-11 09:36:56 -08:00
2017-11-02 11:10:55 +01:00
2018-11-11 09:36:56 -08:00
2018-11-11 09:36:56 -08:00
2018-11-11 09:36:56 -08:00
2018-11-11 09:36:56 -08:00
2018-09-16 15:31:01 -07:00
2018-11-11 10:10:01 -08:00
2018-11-18 16:16:20 -08:00
2018-11-11 09:36:56 -08:00
2018-09-12 20:24:20 -07:00
2018-11-11 10:10:01 -08:00
2018-05-15 16:41:15 -04:00
2018-12-05 16:26:16 -08:00
2018-12-05 16:26:16 -08:00
2018-09-17 19:52:44 -07:00
2017-12-27 11:06:50 -05:00
2017-02-09 17:10:23 -05:00
2018-09-28 10:25:11 -07:00
2018-04-19 15:59:10 -04:00
2018-04-20 10:33:26 -04:00
2017-11-02 11:10:55 +01:00
2016-03-16 19:55:37 -04:00
2016-03-14 15:27:22 -04:00
2018-11-17 21:11:51 -08:00
2016-07-16 21:32:58 -07:00
2017-08-06 20:55:28 -07:00
2017-08-06 20:55:28 -07:00
2016-01-07 14:31:26 -05:00
2018-05-16 14:20:36 -04:00
2018-10-21 21:10:12 -07:00
2018-09-13 11:16:54 +02:00
2018-03-07 12:39:59 -05:00
2017-09-05 14:42:52 -07:00
2016-03-14 15:27:22 -04:00
2018-01-08 14:30:28 -05:00
2018-10-01 23:29:37 -07:00
2017-12-18 15:09:42 -05:00
2017-05-16 11:41:08 -04:00
2018-11-11 09:36:56 -08:00
2018-11-11 10:10:01 -08:00
2018-11-11 09:36:56 -08:00
2018-11-11 09:36:56 -08:00
2018-11-24 17:01:43 -08:00
2018-11-11 09:36:56 -08:00
2018-12-05 16:26:16 -08:00
2018-11-09 20:13:51 -08:00
2018-11-11 10:10:01 -08:00
2018-11-11 10:10:02 -08:00
2018-12-05 16:26:16 -08:00
2018-11-11 10:10:01 -08:00
2018-11-11 09:36:56 -08:00
2018-11-11 09:44:14 -08:00
2017-12-01 15:42:21 -05:00
2018-09-18 20:14:19 -07:00
2018-10-11 12:10:06 -07:00
2017-08-06 20:55:29 -07:00
2018-11-11 09:36:56 -08:00
2018-03-26 12:07:49 -04:00
2018-11-11 09:36:56 -08:00
2016-06-27 10:40:57 -04:00
2017-11-02 11:10:55 +01:00
2018-03-01 21:23:34 -05:00
2018-11-11 10:10:01 -08:00
2018-11-23 17:25:32 -08:00
2018-06-28 16:12:06 +09:00