mac80211: Print libnl error message along with error number
commit06200b94b91cdf80d23a15de00145147ffd1174e
authorVadim Kochan <vadim4j@gmail.com>
Fri, 10 Apr 2015 10:23:28 +0000 (10 13:23 +0300)
committerTobias Klauser <tklauser@distanz.ch>
Fri, 10 Apr 2015 12:16:31 +0000 (10 14:16 +0200)
tree7abadda760a92eec3339e88c0e0ff477aec03e91
parentbb77b49265877b68fc316d11a719527ecf91d594
mac80211: Print libnl error message along with error number

Add printing libnl error message like:

    nl80211 returned with error (-23): Object type does not match cache

instead of:

    nl80211 returned with error -23

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
mac80211.c