commit | dd0451938815d8b901488b1058f52023892c6cde | [log] [tgz] |
---|---|---|
author | Steve Glendinning <steve.glendinning@smsc.com> | Thu Dec 25 16:40:19 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 25 16:40:19 2008 -0800 |
tree | dbb70ece42aa24d11cbf567357080b1f13eb8c2f | |
parent | 6332178d91ca1a9dbd99bd97cabbcf965d178e9f [diff] |
smsc911x: fix BUG if module is removed while interface is up If the module is removed while its interface is up, smsc911x_stop is not called until after smsc911x_drv_remove has disposed of phy_dev. This patch changes the stop method to handle this situation. This is a different problem to the one reported by dfoley@telus.net. Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: David S. Miller <davem@davemloft.net>